Nerdulator> put something in

Recognised as Colour

#D40CA8

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

#D40CA8 is a magenta with RGB values 212, 12, 168 and HSL 313°, 89%, 44%. It is a dark colour, so white text on it reaches 4.8:1 contrast (AA for normal text). The nearest named colour is Medium violet red.

Colour values

#D40CA8#D40CA8
HEX#D40CA8
RGBrgb(212, 12, 168)
RGB (0–1)0.8314, 0.0471, 0.6588
RGB percentages83.1%, 4.7%, 65.9%
HSLhsl(313.2, 89.3%, 43.9%)
HSV / HSBhsv(313.2, 94.3%, 83.1%)
CMYK0%, 94.3%, 20.8%, 16.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer13,896,872
CSS custom property--colour: #D40CA8;

Brightness & contrast

Relative luminance0.17087WCAG 2.x, 0 is black and 1 is white
Perceived brightness129.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 4.75:1
Contrast with white4.75:1WCAG normal text: AA
Contrast with black4.42:1WCAG normal text: Fail
Greyscale equivalent#424242
Inverted#2BF357

Colour vision & accessibility

Protanopia#2B60ABno red cones; affects about 1% of men; ΔE 71.5 from the original
Deuteranopia#6E7DA4no green cones; the most common form, about 1% of men; ΔE 75.1 from the original
Tritanopia#E11963no blue cones; rare, and affects men and women equally; ΔE 43.3 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text4.75:1WCAG large text: AAA
Contrast with black, large text4.42:1WCAG large text: AA

Named colours

Nearest named CSS colourMedium violet red (#C71585)ΔE 17.5, a distinctly different colour
Hue familymagenta
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#0CD438
Analogous#9C0CD4, #D40C44
Triadic#A8D40C, #0CA8D4
Split complementary#44D40C, #0CD49C
Tetradic#D49C0C, #0CD438, #0C44D4

Tints, shades & saturation

Lighter +40%#FBB1EA
Lighter +30%#F881DE
Lighter +20%#F551D1
Lighter +10%#F221C4
Darker −10%#A40982
Darker −20%#73075B
Darker −30%#430435
Darker −40%#13010F
More saturated +25%#E000AF
Less saturated −25%#B82898

Channel breakdown

R212
G12
B168
Red212 (83.1%)
Green12 (4.7%)
Blue168 (65.9%)
Hue313.2°
Saturation (HSL)89.29%
Lightness43.92%
Dominant channelRed
Hex per channelR D4 · G 0C · B A8

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 “d40ca8” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.