Nerdulator> put something in

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

Protanopia#435D90no red cones; affects about 1% of men; ΔE 72.5 from the original
Deuteranopia#7B7E89no green cones; the most common form, about 1% of men; ΔE 75.1 from the original
Tritanopia#E90054no blue cones; rare, and affects men and women equally; ΔE 37.1 from the original
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

Nearest named CSS colourMedium violet red (#C71585)ΔE 5.95, clearly different but related
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

Lighter +40%#F9BEE3
Lighter +30%#F58FCE
Lighter +20%#F160BA
Lighter +10%#ED31A5
Darker −10%#A90F6E
Darker −20%#7A0B50
Darker −30%#4B0731
Darker −40%#1C0313
More saturated +25%#EB0092
Less saturated −25%#BB3086

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.

Nerdulate something else

Nothing in mind? Surprise me · today’s page

Every value on this page was computed from “d8138d” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.