Recognised as Colour
#D4049F
- #D4049F
- Magenta
- Dark
- Nearest: Medium violet red
#D4049F is a magenta with RGB values 212, 4, 159 and HSL 315°, 96%, 42%. 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
#D4049F#D4049F
HEX#D4049F
RGBrgb(212, 4, 159)
RGB (0–1)0.8314, 0.0157, 0.6235
RGB percentages83.1%, 1.6%, 62.4%
HSLhsl(315.3, 96.3%, 42.4%)
HSV / HSBhsv(315.3, 98.1%, 83.1%)
CMYK0%, 98.1%, 25%, 16.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer13,894,815
CSS custom property--colour: #D4049F;
Brightness & contrast
Relative luminance0.16587WCAG 2.x, 0 is black and 1 is white
Perceived brightness127.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 4.86:1
Contrast with white4.86:1WCAG normal text: AA
Contrast with black4.32:1WCAG normal text: Fail
Greyscale equivalent#3B3B3B
Inverted#2BFB60
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text4.86:1WCAG large text: AAA
Contrast with black, large text4.32:1WCAG large text: AA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#04D439
Analogous#A104D4, #D40437
Triadic#9FD404, #049FD4
Split complementary#37D404, #04D4A1
Tetradic#D4A104, #04D439, #0437D4
Tints, shades & saturation
Channel breakdown
R212
G4
B159
Red212 (83.1%)
Green4 (1.6%)
Blue159 (62.4%)
Hue315.29°
Saturation (HSL)96.3%
Lightness42.35%
Dominant channelRed
Hex per channelR D4 · G 04 · B 9F
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