Recognised as Colour
#D2047E
- #D2047E
- Magenta
- Dark
- Nearest: Medium violet red
#D2047E is a magenta with RGB values 210, 4, 126 and HSL 324°, 96%, 42%. It is a dark colour, so white text on it reaches 5.2:1 contrast (AA for normal text). The nearest named colour is Medium violet red.
Colour values
#D2047E#D2047E
HEX#D2047E
RGBrgb(210, 4, 126)
RGB (0–1)0.8235, 0.0157, 0.4941
RGB percentages82.4%, 1.6%, 49.4%
HSLhsl(324.5, 96.3%, 42%)
HSV / HSBhsv(324.5, 98.1%, 82.4%)
CMYK0%, 98.1%, 40%, 17.6%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer13,763,710
CSS custom property--colour: #D2047E;
Brightness & contrast
Relative luminance0.15295WCAG 2.x, 0 is black and 1 is white
Perceived brightness122.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 5.17:1
Contrast with white5.17:1WCAG normal text: AA
Contrast with black4.06:1WCAG normal text: Fail
Greyscale equivalent#393939
Inverted#2DFB81
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text5.17:1WCAG large text: AAA
Contrast with black, large text4.06:1WCAG large text: AA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#04D258
Analogous#BF04D2, #D20417
Triadic#7ED204, #047ED2
Split complementary#17D204, #04D2BF
Tetradic#D2BF04, #04D258, #0417D2
Tints, shades & saturation
Channel breakdown
R210
G4
B126
Red210 (82.4%)
Green4 (1.6%)
Blue126 (49.4%)
Hue324.47°
Saturation (HSL)96.26%
Lightness41.96%
Dominant channelRed
Hex per channelR D2 · G 04 · B 7E
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