Nerdulator> put something in

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

Protanopia#3C5E99no red cones; affects about 1% of men; ΔE 70.3 from the original
Deuteranopia#747C92no green cones; the most common form, about 1% of men; ΔE 73.5 from the original
Tritanopia#E1085Ano blue cones; rare, and affects men and women equally; ΔE 37.8 from the original
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

Nearest named CSS colourMedium violet red (#C71585)ΔE 7.49, clearly different but related
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

Lighter +40%#F8BDE5
Lighter +30%#F38FD3
Lighter +20%#EE61C1
Lighter +10%#E933AE
Darker −10%#A41275
Darker −20%#760D54
Darker −30%#480834
Darker −40%#1A0313
More saturated +25%#E9009E
Less saturated −25%#B5348C

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.

Nerdulate something else

Nothing in mind? Surprise me · today’s page

Every value on this page was computed from “d21796” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.