Recognised as Colour
#D40080
- #D40080
- Magenta
- Dark
- Nearest: Medium violet red
#D40080 is a magenta with RGB values 212, 0, 128 and HSL 324°, 100%, 42%. It is a dark colour, so white text on it reaches 5.1:1 contrast (AA for normal text). The nearest named colour is Medium violet red.
Colour values
#D40080#D40080
HEX#D40080
RGBrgb(212, 0, 128)
RGB (0–1)0.8314, 0, 0.502
RGB percentages83.1%, 0%, 50.2%
HSLhsl(323.8, 100%, 41.6%)
HSV / HSBhsv(323.8, 100%, 83.1%)
CMYK0%, 100%, 39.6%, 16.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer13,893,760
CSS custom property--colour: #D40080;
Brightness & contrast
Relative luminance0.15556WCAG 2.x, 0 is black and 1 is white
Perceived brightness123.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 5.11:1
Contrast with white5.11:1WCAG normal text: AA
Contrast with black4.11:1WCAG normal text: Fail
Greyscale equivalent#363636
Inverted#2BFF7F
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text5.11:1WCAG large text: AAA
Contrast with black, large text4.11:1WCAG large text: AA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#00D454
Analogous#BE00D4, #D40016
Triadic#80D400, #0080D4
Split complementary#16D400, #00D4BE
Tetradic#D4BE00, #00D454, #0016D4
Tints, shades & saturation
Channel breakdown
R212
G0
B128
Red212 (83.1%)
Green0 (0%)
Blue128 (50.2%)
Hue323.77°
Saturation (HSL)100%
Lightness41.57%
Dominant channelRed
Hex per channelR D4 · G 00 · B 80
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