Recognised as Colour
#D31F93
- #D31F93
- Magenta
- Dark
- Nearest: Medium violet red
#D31F93 is a magenta with RGB values 211, 31, 147 and HSL 321°, 74%, 47%. It is a dark colour, so white text on it reaches 4.8:1 contrast (AA for normal text). The nearest named colour is Medium violet red.
Colour values
#D31F93#D31F93
HEX#D31F93
RGBrgb(211, 31, 147)
RGB (0–1)0.8275, 0.1216, 0.5765
RGB percentages82.7%, 12.2%, 57.6%
HSLhsl(321.3, 74.4%, 47.5%)
HSV / HSBhsv(321.3, 85.3%, 82.7%)
CMYK0%, 85.3%, 30.3%, 17.3%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer13,836,179
CSS custom property--colour: #D31F93;
Brightness & contrast
Relative luminance0.16935WCAG 2.x, 0 is black and 1 is white
Perceived brightness127.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 4.79:1
Contrast with white4.79:1WCAG normal text: AA
Contrast with black4.39:1WCAG normal text: Fail
Greyscale equivalent#4E4E4E
Inverted#2CE06C
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text4.79:1WCAG large text: AAA
Contrast with black, large text4.39:1WCAG large text: AA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#1FD35F
Analogous#B91FD3, #D31F39
Triadic#93D31F, #1F93D3
Split complementary#39D31F, #1FD3B9
Tetradic#D3B91F, #1FD35F, #1F39D3
Tints, shades & saturation
Channel breakdown
R211
G31
B147
Red211 (82.7%)
Green31 (12.2%)
Blue147 (57.6%)
Hue321.33°
Saturation (HSL)74.38%
Lightness47.45%
Dominant channelRed
Hex per channelR D3 · G 1F · B 93
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