Recognised as Colour
#B9027E
- #B9027E
- Magenta
- Dark
- Nearest: Medium violet red
#B9027E is a magenta with RGB values 185, 2, 126 and HSL 319°, 98%, 37%. It is a dark colour, so white text on it reaches 6.2:1 contrast (AA for normal text). The nearest named colour is Medium violet red.
Colour values
#B9027E#B9027E
HEX#B9027E
RGBrgb(185, 2, 126)
RGB (0–1)0.7255, 0.0078, 0.4941
RGB percentages72.5%, 0.8%, 49.4%
HSLhsl(319.3, 97.9%, 36.7%)
HSV / HSBhsv(319.3, 98.9%, 72.5%)
CMYK0%, 98.9%, 31.9%, 27.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer12,124,798
CSS custom property--colour: #B9027E;
Brightness & contrast
Relative luminance0.11864WCAG 2.x, 0 is black and 1 is white
Perceived brightness109.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 6.23:1
Contrast with white6.23:1WCAG normal text: AA
Contrast with black3.37:1WCAG normal text: Fail
Greyscale equivalent#323232
Inverted#46FD81
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text6.23:1WCAG large text: AAA
Contrast with black, large text3.37:1WCAG large text: AA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#02B93D
Analogous#9902B9, #B90222
Triadic#7EB902, #027EB9
Split complementary#22B902, #02B999
Tetradic#B99902, #02B93D, #0222B9
Tints, shades & saturation
Channel breakdown
R185
G2
B126
Red185 (72.5%)
Green2 (0.8%)
Blue126 (49.4%)
Hue319.34°
Saturation (HSL)97.86%
Lightness36.67%
Dominant channelRed
Hex per channelR B9 · G 02 · B 7E
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