Recognised as Colour
#BA0291
- #BA0291
- Magenta
- Dark
- Nearest: Medium violet red
#BA0291 is a magenta with RGB values 186, 2, 145 and HSL 313°, 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
#BA0291#BA0291
HEX#BA0291
RGBrgb(186, 2, 145)
RGB (0–1)0.7294, 0.0078, 0.5686
RGB percentages72.9%, 0.8%, 56.9%
HSLhsl(313.4, 97.9%, 36.9%)
HSV / HSBhsv(313.4, 98.9%, 72.9%)
CMYK0%, 98.9%, 22%, 27.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer12,190,353
CSS custom property--colour: #BA0291;
Brightness & contrast
Relative luminance0.12527WCAG 2.x, 0 is black and 1 is white
Perceived brightness112.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 5.99:1
Contrast with white5.99:1WCAG normal text: AA
Contrast with black3.51:1WCAG normal text: Fail
Greyscale equivalent#333333
Inverted#45FD6E
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text5.99:1WCAG large text: AAA
Contrast with black, large text3.51:1WCAG large text: AA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#02BA2B
Analogous#8702BA, #BA0235
Triadic#91BA02, #0291BA
Split complementary#35BA02, #02BA87
Tetradic#BA8702, #02BA2B, #0235BA
Tints, shades & saturation
Channel breakdown
R186
G2
B145
Red186 (72.9%)
Green2 (0.8%)
Blue145 (56.9%)
Hue313.37°
Saturation (HSL)97.87%
Lightness36.86%
Dominant channelRed
Hex per channelR BA · G 02 · B 91
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