Recognised as Colour
#D8217F
- #D8217F
- Magenta
- Dark
- Nearest: Medium violet red
#D8217F is a magenta with RGB values 216, 33, 127 and HSL 329°, 73%, 49%. 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
#D8217F#D8217F
HEX#D8217F
RGBrgb(216, 33, 127)
RGB (0–1)0.8471, 0.1294, 0.498
RGB percentages84.7%, 12.9%, 49.8%
HSLhsl(329.2, 73.5%, 48.8%)
HSV / HSBhsv(329.2, 84.7%, 84.7%)
CMYK0%, 84.7%, 41.2%, 15.3%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer14,164,351
CSS custom property--colour: #D8217F;
Brightness & contrast
Relative luminance0.17219WCAG 2.x, 0 is black and 1 is white
Perceived brightness128.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 4.73:1
Contrast with white4.73:1WCAG normal text: AA
Contrast with black4.44:1WCAG normal text: Fail
Greyscale equivalent#4F4F4F
Inverted#27DE80
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text4.73:1WCAG large text: AAA
Contrast with black, large text4.44:1WCAG large text: AA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#21D87A
Analogous#D621D8, #D82123
Triadic#7FD821, #217FD8
Split complementary#23D821, #21D8D6
Tetradic#D8D621, #21D87A, #2123D8
Tints, shades & saturation
Channel breakdown
R216
G33
B127
Red216 (84.7%)
Green33 (12.9%)
Blue127 (49.8%)
Hue329.18°
Saturation (HSL)73.49%
Lightness48.82%
Dominant channelRed
Hex per channelR D8 · G 21 · B 7F
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