Recognised as Colour
#D8138D
- #D8138D
- Magenta
- Dark
- Nearest: Medium violet red
#D8138D is a magenta with RGB values 216, 19, 141 and HSL 323°, 84%, 46%. 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
#D8138D#D8138D
HEX#D8138D
RGBrgb(216, 19, 141)
RGB (0–1)0.8471, 0.0745, 0.5529
RGB percentages84.7%, 7.5%, 55.3%
HSLhsl(322.8, 83.8%, 46.1%)
HSV / HSBhsv(322.8, 91.2%, 84.7%)
CMYK0%, 91.2%, 34.7%, 15.3%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer14,160,781
CSS custom property--colour: #D8138D;
Brightness & contrast
Relative luminance0.16988WCAG 2.x, 0 is black and 1 is white
Perceived brightness128.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 4.78:1
Contrast with white4.78:1WCAG normal text: AA
Contrast with black4.4:1WCAG normal text: Fail
Greyscale equivalent#464646
Inverted#27EC72
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text4.78:1WCAG large text: AAA
Contrast with black, large text4.4:1WCAG large text: AA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#13D85E
Analogous#C113D8, #D8132A
Triadic#8DD813, #138DD8
Split complementary#2AD813, #13D8C1
Tetradic#D8C113, #13D85E, #132AD8
Tints, shades & saturation
Channel breakdown
R216
G19
B141
Red216 (84.7%)
Green19 (7.5%)
Blue141 (55.3%)
Hue322.84°
Saturation (HSL)83.83%
Lightness46.08%
Dominant channelRed
Hex per channelR D8 · G 13 · B 8D
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