Recognised as Colour
#D12786
- #D12786
- Magenta
- Dark
- Nearest: Medium violet red
#D12786 is a magenta with RGB values 209, 39, 134 and HSL 326°, 69%, 49%. 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
#D12786#D12786
HEX#D12786
RGBrgb(209, 39, 134)
RGB (0–1)0.8196, 0.1529, 0.5255
RGB percentages82%, 15.3%, 52.5%
HSLhsl(326.5, 68.5%, 48.6%)
HSV / HSBhsv(326.5, 81.3%, 82%)
CMYK0%, 81.3%, 35.9%, 18%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer13,707,142
CSS custom property--colour: #D12786;
Brightness & contrast
Relative luminance0.16728WCAG 2.x, 0 is black and 1 is white
Perceived brightness126.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 4.83:1
Contrast with white4.83:1WCAG normal text: AA
Contrast with black4.35:1WCAG normal text: Fail
Greyscale equivalent#525252
Inverted#2ED879
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text4.83:1WCAG large text: AAA
Contrast with black, large text4.35:1WCAG large text: AA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#27D172
Analogous#C727D1, #D12731
Triadic#86D127, #2786D1
Split complementary#31D127, #27D1C7
Tetradic#D1C727, #27D172, #2731D1
Tints, shades & saturation
Channel breakdown
R209
G39
B134
Red209 (82%)
Green39 (15.3%)
Blue134 (52.5%)
Hue326.47°
Saturation (HSL)68.55%
Lightness48.63%
Dominant channelRed
Hex per channelR D1 · G 27 · B 86
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