Recognised as Colour
#D21796
- #D21796
- Magenta
- Dark
- Nearest: Medium violet red
#D21796 is a magenta with RGB values 210, 23, 150 and HSL 319°, 80%, 46%. It is a dark colour, so white text on it reaches 4.9:1 contrast (AA for normal text). The nearest named colour is Medium violet red.
Colour values
#D21796#D21796
HEX#D21796
RGBrgb(210, 23, 150)
RGB (0–1)0.8235, 0.0902, 0.5882
RGB percentages82.4%, 9%, 58.8%
HSLhsl(319.3, 80.3%, 45.7%)
HSV / HSBhsv(319.3, 89%, 82.4%)
CMYK0%, 89%, 28.6%, 17.6%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer13,768,598
CSS custom property--colour: #D21796;
Brightness & contrast
Relative luminance0.16516WCAG 2.x, 0 is black and 1 is white
Perceived brightness126.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 4.88:1
Contrast with white4.88:1WCAG normal text: AA
Contrast with black4.3:1WCAG normal text: Fail
Greyscale equivalent#484848
Inverted#2DE869
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text4.88:1WCAG large text: AAA
Contrast with black, large text4.3:1WCAG large text: AA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#17D253
Analogous#B117D2, #D21738
Triadic#96D217, #1796D2
Split complementary#39D217, #17D2B1
Tetradic#D2B117, #17D253, #1739D2
Tints, shades & saturation
Channel breakdown
R210
G23
B150
Red210 (82.4%)
Green23 (9%)
Blue150 (58.8%)
Hue319.25°
Saturation (HSL)80.26%
Lightness45.69%
Dominant channelRed
Hex per channelR D2 · G 17 · B 96
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