Recognised as Colour
#BA028E
- #BA028E
- Magenta
- Dark
- Nearest: Medium violet red
#BA028E is a magenta with RGB values 186, 2, 142 and HSL 314°, 98%, 37%. It is a dark colour, so white text on it reaches 6:1 contrast (AA for normal text). The nearest named colour is Medium violet red.
Colour values
#BA028E#BA028E
HEX#BA028E
RGBrgb(186, 2, 142)
RGB (0–1)0.7294, 0.0078, 0.5569
RGB percentages72.9%, 0.8%, 55.7%
HSLhsl(314.3, 97.9%, 36.9%)
HSV / HSBhsv(314.3, 98.9%, 72.9%)
CMYK0%, 98.9%, 23.7%, 27.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer12,190,350
CSS custom property--colour: #BA028E;
Brightness & contrast
Relative luminance0.12436WCAG 2.x, 0 is black and 1 is white
Perceived brightness112.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 6.02:1
Contrast with white6.02:1WCAG normal text: AA
Contrast with black3.49:1WCAG normal text: Fail
Greyscale equivalent#333333
Inverted#45FD71
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text6.02:1WCAG large text: AAA
Contrast with black, large text3.49:1WCAG large text: AA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#02BA2E
Analogous#8A02BA, #BA0232
Triadic#8EBA02, #028EBA
Split complementary#32BA02, #02BA8A
Tetradic#BA8A02, #02BA2E, #0232BA
Tints, shades & saturation
Channel breakdown
R186
G2
B142
Red186 (72.9%)
Green2 (0.8%)
Blue142 (55.7%)
Hue314.35°
Saturation (HSL)97.87%
Lightness36.86%
Dominant channelRed
Hex per channelR BA · G 02 · B 8E
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Harmonies
Similar named colours
Nerdulate something else
Nothing in mind? Surprise me · today’s page