Recognised as Colour
#D8188C
- #D8188C
- Magenta
- Dark
- Nearest: Medium violet red
#D8188C is a magenta with RGB values 216, 24, 140 and HSL 324°, 80%, 47%. It is a dark colour, so white text on it reaches 4.7:1 contrast (AA for normal text). The nearest named colour is Medium violet red.
Colour values
#D8188C#D8188C
HEX#D8188C
RGBrgb(216, 24, 140)
RGB (0–1)0.8471, 0.0941, 0.549
RGB percentages84.7%, 9.4%, 54.9%
HSLhsl(323.8, 80%, 47.1%)
HSV / HSBhsv(323.8, 88.9%, 84.7%)
CMYK0%, 88.9%, 35.2%, 15.3%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer14,162,060
CSS custom property--colour: #D8188C;
Brightness & contrast
Relative luminance0.17146WCAG 2.x, 0 is black and 1 is white
Perceived brightness128.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 4.74:1
Contrast with white4.74:1WCAG normal text: AA
Contrast with black4.43:1WCAG normal text: Fail
Greyscale equivalent#494949
Inverted#27E773
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text4.74:1WCAG large text: AAA
Contrast with black, large text4.43:1WCAG large text: AA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#18D864
Analogous#C418D8, #D8182C
Triadic#8CD818, #188CD8
Split complementary#2CD818, #18D8C4
Tetradic#D8C418, #18D864, #182CD8
Tints, shades & saturation
Channel breakdown
R216
G24
B140
Red216 (84.7%)
Green24 (9.4%)
Blue140 (54.9%)
Hue323.75°
Saturation (HSL)80%
Lightness47.06%
Dominant channelRed
Hex per channelR D8 · G 18 · B 8C
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