Recognised as Colour
#DF42A6
- #DF42A6
- Magenta
- Dark
- Nearest: Medium violet red
#DF42A6 is a magenta with RGB values 223, 66, 166 and HSL 322°, 71%, 57%. It is a dark colour, so black text on it reaches 5.5:1 contrast (AA for normal text). The nearest named colour is Medium violet red.
Colour values
#DF42A6#DF42A6
HEX#DF42A6
RGBrgb(223, 66, 166)
RGB (0–1)0.8745, 0.2588, 0.651
RGB percentages87.5%, 25.9%, 65.1%
HSLhsl(321.8, 71%, 56.7%)
HSV / HSBhsv(321.8, 70.4%, 87.5%)
CMYK0%, 70.4%, 25.6%, 12.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer14,631,590
CSS custom property--colour: #DF42A6;
Brightness & contrast
Relative luminance0.22338WCAG 2.x, 0 is black and 1 is white
Perceived brightness143.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundBlackcontrast 5.47:1
Contrast with white3.84:1WCAG normal text: Fail
Contrast with black5.47:1WCAG normal text: AA
Greyscale equivalent#6B6B6B
Inverted#20BD59
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text3.84:1WCAG large text: AA
Contrast with black, large text5.47:1WCAG large text: AAA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#42DF7B
Analogous#CA42DF, #DF4257
Triadic#A6DF42, #42A6DF
Split complementary#58DF42, #42DFCA
Tetradic#DFCA42, #42DF7B, #4257DF
Tints, shades & saturation
Channel breakdown
R223
G66
B166
Red223 (87.5%)
Green66 (25.9%)
Blue166 (65.1%)
Hue321.78°
Saturation (HSL)71.04%
Lightness56.67%
Dominant channelRed
Hex per channelR DF · G 42 · B A6
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