Recognised as Colour
#B7227D
- #B7227D
- Magenta
- Dark
- Nearest: Medium violet red
#B7227D is a magenta with RGB values 183, 34, 125 and HSL 323°, 69%, 43%. It is a dark colour, so white text on it reaches 5.9:1 contrast (AA for normal text). The nearest named colour is Medium violet red.
Colour values
#B7227D#B7227D
HEX#B7227D
RGBrgb(183, 34, 125)
RGB (0–1)0.7176, 0.1333, 0.4902
RGB percentages71.8%, 13.3%, 49%
HSLhsl(323.4, 68.7%, 42.5%)
HSV / HSBhsv(323.4, 81.4%, 71.8%)
CMYK0%, 81.4%, 31.7%, 28.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer12,001,917
CSS custom property--colour: #B7227D;
Brightness & contrast
Relative luminance0.12692WCAG 2.x, 0 is black and 1 is white
Perceived brightness111.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 5.93:1
Contrast with white5.93:1WCAG normal text: AA
Contrast with black3.54:1WCAG normal text: Fail
Greyscale equivalent#484848
Inverted#48DD82
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text5.93:1WCAG large text: AAA
Contrast with black, large text3.54:1WCAG large text: AA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#22B75C
Analogous#A622B7, #B72233
Triadic#7DB722, #227DB7
Split complementary#32B722, #22B7A6
Tetradic#B7A722, #22B75C, #2233B7
Tints, shades & saturation
Channel breakdown
R183
G34
B125
Red183 (71.8%)
Green34 (13.3%)
Blue125 (49%)
Hue323.36°
Saturation (HSL)68.66%
Lightness42.55%
Dominant channelRed
Hex per channelR B7 · G 22 · B 7D
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Nerdulate something else
Nothing in mind? Surprise me · today’s page