Recognised as Colour
#DC31AC
- #DC31AC
- Magenta
- Dark
- Nearest: Medium violet red
#DC31AC is a magenta with RGB values 220, 49, 172 and HSL 317°, 71%, 53%. It is a dark colour, so black text on it reaches 5.1:1 contrast (AA for normal text). The nearest named colour is Medium violet red.
Colour values
#DC31AC#DC31AC
HEX#DC31AC
RGBrgb(220, 49, 172)
RGB (0–1)0.8627, 0.1922, 0.6745
RGB percentages86.3%, 19.2%, 67.5%
HSLhsl(316.8, 71%, 52.7%)
HSV / HSBhsv(316.8, 77.7%, 86.3%)
CMYK0%, 77.7%, 21.8%, 13.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer14,430,636
CSS custom property--colour: #DC31AC;
Brightness & contrast
Relative luminance0.20391WCAG 2.x, 0 is black and 1 is white
Perceived brightness138.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundBlackcontrast 5.08:1
Contrast with white4.14:1WCAG normal text: Fail
Contrast with black5.08:1WCAG normal text: AA
Greyscale equivalent#5E5E5E
Inverted#23CE53
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text4.14:1WCAG large text: AA
Contrast with black, large text5.08:1WCAG large text: AAA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#31DC61
Analogous#B731DC, #DC3157
Triadic#ACDC31, #31ACDC
Split complementary#56DC31, #31DCB7
Tetradic#DCB731, #31DC61, #3156DC
Tints, shades & saturation
Channel breakdown
R220
G49
B172
Red220 (86.3%)
Green49 (19.2%)
Blue172 (67.5%)
Hue316.84°
Saturation (HSL)70.95%
Lightness52.75%
Dominant channelRed
Hex per channelR DC · G 31 · B AC
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