Recognised as Colour
#D304AC
- #D304AC
- Magenta
- Dark
- Nearest: Medium violet red
#D304AC is a magenta with RGB values 211, 4, 172 and HSL 311°, 96%, 42%. 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
#D304AC#D304AC
HEX#D304AC
RGBrgb(211, 4, 172)
RGB (0–1)0.8275, 0.0157, 0.6745
RGB percentages82.7%, 1.6%, 67.5%
HSLhsl(311.3, 96.3%, 42.2%)
HSV / HSBhsv(311.3, 98.1%, 82.7%)
CMYK0%, 98.1%, 18.5%, 17.3%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer13,829,292
CSS custom property--colour: #D304AC;
Brightness & contrast
Relative luminance0.16914WCAG 2.x, 0 is black and 1 is white
Perceived brightness129.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 4.79:1
Contrast with white4.79:1WCAG normal text: AA
Contrast with black4.38:1WCAG normal text: Fail
Greyscale equivalent#3C3C3C
Inverted#2CFB53
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text4.79:1WCAG large text: AAA
Contrast with black, large text4.38:1WCAG large text: AA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#04D32B
Analogous#9304D3, #D30444
Triadic#ACD304, #04ACD3
Split complementary#45D304, #04D393
Tetradic#D39204, #04D32B, #0444D3
Tints, shades & saturation
Channel breakdown
R211
G4
B172
Red211 (82.7%)
Green4 (1.6%)
Blue172 (67.5%)
Hue311.3°
Saturation (HSL)96.28%
Lightness42.16%
Dominant channelRed
Hex per channelR D3 · G 04 · B AC
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