Recognised as Colour
#D42896
- #D42896
- Magenta
- Dark
- Nearest: Medium violet red
#D42896 is a magenta with RGB values 212, 40, 150 and HSL 322°, 68%, 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
#D42896#D42896
HEX#D42896
RGBrgb(212, 40, 150)
RGB (0–1)0.8314, 0.1569, 0.5882
RGB percentages83.1%, 15.7%, 58.8%
HSLhsl(321.6, 68.3%, 49.4%)
HSV / HSBhsv(321.6, 81.1%, 83.1%)
CMYK0%, 81.1%, 29.2%, 16.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer13,904,022
CSS custom property--colour: #D42896;
Brightness & contrast
Relative luminance0.17717WCAG 2.x, 0 is black and 1 is white
Perceived brightness130.2 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.54:1WCAG normal text: AA
Greyscale equivalent#555555
Inverted#2BD769
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.54:1WCAG large text: AAA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#28D466
Analogous#BC28D4, #D42840
Triadic#96D428, #2896D4
Split complementary#40D428, #28D4BC
Tetradic#D4BC28, #28D466, #2840D4
Tints, shades & saturation
Channel breakdown
R212
G40
B150
Red212 (83.1%)
Green40 (15.7%)
Blue150 (58.8%)
Hue321.63°
Saturation (HSL)68.25%
Lightness49.41%
Dominant channelRed
Hex per channelR D4 · G 28 · B 96
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