Recognised as Colour
#BA04AB
- #BA04AB
- Magenta
- Dark
- Nearest: Dark magenta
#BA04AB is a magenta with RGB values 186, 4, 171 and HSL 305°, 96%, 37%. It is a dark colour, so white text on it reaches 5.7:1 contrast (AA for normal text). The nearest named colour is Dark magenta.
Colour values
#BA04AB#BA04AB
HEX#BA04AB
RGBrgb(186, 4, 171)
RGB (0–1)0.7294, 0.0157, 0.6706
RGB percentages72.9%, 1.6%, 67.1%
HSLhsl(304.9, 95.8%, 37.3%)
HSV / HSBhsv(304.9, 97.8%, 72.9%)
CMYK0%, 97.8%, 8.1%, 27.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer12,190,891
CSS custom property--colour: #BA04AB;
Brightness & contrast
Relative luminance0.13466WCAG 2.x, 0 is black and 1 is white
Perceived brightness117 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 5.69:1
Contrast with white5.69:1WCAG normal text: AA
Contrast with black3.69:1WCAG normal text: Fail
Greyscale equivalent#373737
Inverted#45FB54
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text5.69:1WCAG large text: AAA
Contrast with black, large text3.69:1WCAG large text: AA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#04BA13
Analogous#6E04BA, #BA0450
Triadic#ABBA04, #04ABBA
Split complementary#50BA04, #04BA6E
Tetradic#BA6E04, #04BA13, #0450BA
Tints, shades & saturation
Channel breakdown
R186
G4
B171
Red186 (72.9%)
Green4 (1.6%)
Blue171 (67.1%)
Hue304.95°
Saturation (HSL)95.79%
Lightness37.25%
Dominant channelRed
Hex per channelR BA · G 04 · B AB
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