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
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
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
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.
Harmonies
Similar named colours
Nerdulate something else
Nothing in mind? Surprise me · today’s page