Recognised as Colour
#D8317E
- #D8317E
- Red
- Dark
- Nearest: Medium violet red
#D8317E is a red with RGB values 216, 49, 126 and HSL 332°, 68%, 52%. It is a dark colour, so black text on it reaches 4.7:1 contrast (AA for normal text). The nearest named colour is Medium violet red.
Colour values
#D8317E#D8317E
HEX#D8317E
RGBrgb(216, 49, 126)
RGB (0–1)0.8471, 0.1922, 0.4941
RGB percentages84.7%, 19.2%, 49.4%
HSLhsl(332.3, 68.2%, 52%)
HSV / HSBhsv(332.3, 77.3%, 84.7%)
CMYK0%, 77.3%, 41.7%, 15.3%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer14,168,446
CSS custom property--colour: #D8317E;
Brightness & contrast
Relative luminance0.18302WCAG 2.x, 0 is black and 1 is white
Perceived brightness131 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundBlackcontrast 4.66:1
Contrast with white4.51:1WCAG normal text: AA
Contrast with black4.66:1WCAG normal text: AA
Greyscale equivalent#5A5A5A
Inverted#27CE81
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text4.51:1WCAG large text: AAA
Contrast with black, large text4.66:1WCAG large text: AAA
Named colours
Hue familyred
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#31D88B
Analogous#D831D1, #D83831
Triadic#7ED831, #317ED8
Split complementary#31D838, #31D1D8
Tetradic#D1D831, #31D88B, #3831D8
Tints, shades & saturation
Channel breakdown
R216
G49
B126
Red216 (84.7%)
Green49 (19.2%)
Blue126 (49.4%)
Hue332.34°
Saturation (HSL)68.16%
Lightness51.96%
Dominant channelRed
Hex per channelR D8 · G 31 · 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