Recognised as Colour
#D42799
- #D42799
- Magenta
- Dark
- Nearest: Medium violet red
#D42799 is a magenta with RGB values 212, 39, 153 and HSL 320°, 69%, 49%. It is a dark colour, so white text on it reaches 4.6:1 contrast (AA for normal text). The nearest named colour is Medium violet red.
Colour values
#D42799#D42799
HEX#D42799
RGBrgb(212, 39, 153)
RGB (0–1)0.8314, 0.1529, 0.6
RGB percentages83.1%, 15.3%, 60%
HSLhsl(320.5, 68.9%, 49.2%)
HSV / HSBhsv(320.5, 81.6%, 83.1%)
CMYK0%, 81.6%, 27.8%, 16.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer13,903,769
CSS custom property--colour: #D42799;
Brightness & contrast
Relative luminance0.17748WCAG 2.x, 0 is black and 1 is white
Perceived brightness130.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 4.62:1
Contrast with white4.62:1WCAG normal text: AA
Contrast with black4.55:1WCAG normal text: AA
Greyscale equivalent#545454
Inverted#2BD866
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text4.62:1WCAG large text: AAA
Contrast with black, large text4.55:1WCAG large text: AAA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#27D462
Analogous#B827D4, #D42743
Triadic#99D427, #2799D4
Split complementary#43D427, #27D4B9
Tetradic#D4B927, #27D462, #2742D4
Tints, shades & saturation
Channel breakdown
R212
G39
B153
Red212 (83.1%)
Green39 (15.3%)
Blue153 (60%)
Hue320.46°
Saturation (HSL)68.92%
Lightness49.22%
Dominant channelRed
Hex per channelR D4 · G 27 · B 99
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