Nerdulator> put something in

Recognised as Colour

#D40C96

  • #D40C96
  • Magenta
  • Dark
  • Nearest: Medium violet red

#D40C96 is a magenta with RGB values 212, 12, 150 and HSL 319°, 89%, 44%. 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

#D40C96#D40C96
HEX#D40C96
RGBrgb(212, 12, 150)
RGB (0–1)0.8314, 0.0471, 0.5882
RGB percentages83.1%, 4.7%, 58.8%
HSLhsl(318.6, 89.3%, 43.9%)
HSV / HSBhsv(318.6, 94.3%, 83.1%)
CMYK0%, 94.3%, 29.2%, 16.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer13,896,854
CSS custom property--colour: #D40C96;

Brightness & contrast

Relative luminance0.16462WCAG 2.x, 0 is black and 1 is white
Perceived brightness126.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 4.89:1
Contrast with white4.89:1WCAG normal text: AA
Contrast with black4.29:1WCAG normal text: Fail
Greyscale equivalent#404040
Inverted#2BF369

Colour vision & accessibility

Protanopia#3A5D99no red cones; affects about 1% of men; ΔE 71.9 from the original
Deuteranopia#747C92no green cones; the most common form, about 1% of men; ΔE 75.2 from the original
Tritanopia#E30058no blue cones; rare, and affects men and women equally; ΔE 39.4 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text4.89:1WCAG large text: AAA
Contrast with black, large text4.29:1WCAG large text: AA

Named colours

Nearest named CSS colourMedium violet red (#C71585)ΔE 8.55, clearly different but related
Hue familymagenta
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#0CD44A
Analogous#AE0CD4, #D40C32
Triadic#96D40C, #0C96D4
Split complementary#32D40C, #0CD4AE
Tetradic#D4AE0C, #0CD44A, #0C32D4

Tints, shades & saturation

Lighter +40%#FBB1E4
Lighter +30%#F881D3
Lighter +20%#F551C2
Lighter +10%#F221B1
Darker −10%#A40974
Darker −20%#730752
Darker −30%#430430
Darker −40%#13010D
More saturated +25%#E0009B
Less saturated −25%#B8288B

Channel breakdown

R212
G12
B150
Red212 (83.1%)
Green12 (4.7%)
Blue150 (58.8%)
Hue318.6°
Saturation (HSL)89.29%
Lightness43.92%
Dominant channelRed
Hex per channelR D4 · G 0C · 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 “d40c96” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.