Nerdulator> put something in

Recognised as Colour

#D8188C

  • #D8188C
  • Magenta
  • Dark
  • Nearest: Medium violet red

#D8188C is a magenta with RGB values 216, 24, 140 and HSL 324°, 80%, 47%. It is a dark colour, so white text on it reaches 4.7:1 contrast (AA for normal text). The nearest named colour is Medium violet red.

Colour values

#D8188C#D8188C
HEX#D8188C
RGBrgb(216, 24, 140)
RGB (0–1)0.8471, 0.0941, 0.549
RGB percentages84.7%, 9.4%, 54.9%
HSLhsl(323.8, 80%, 47.1%)
HSV / HSBhsv(323.8, 88.9%, 84.7%)
CMYK0%, 88.9%, 35.2%, 15.3%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer14,162,060
CSS custom property--colour: #D8188C;

Brightness & contrast

Relative luminance0.17146WCAG 2.x, 0 is black and 1 is white
Perceived brightness128.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 4.74:1
Contrast with white4.74:1WCAG normal text: AA
Contrast with black4.43:1WCAG normal text: Fail
Greyscale equivalent#494949
Inverted#27E773

Colour vision & accessibility

Protanopia#465E8Fno red cones; affects about 1% of men; ΔE 71.8 from the original
Deuteranopia#7C7F88no green cones; the most common form, about 1% of men; ΔE 74.8 from the original
Tritanopia#E90054no blue cones; rare, and affects men and women equally; ΔE 36.2 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text4.74:1WCAG large text: AAA
Contrast with black, large text4.43:1WCAG large text: AA

Named colours

Nearest named CSS colourMedium violet red (#C71585)ΔE 5.67, clearly different but related
Hue familymagenta
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#18D864
Analogous#C418D8, #D8182C
Triadic#8CD818, #188CD8
Split complementary#2CD818, #18D8C4
Tetradic#D8C418, #18D864, #182CD8

Tints, shades & saturation

Lighter +40%#F8C4E4
Lighter +30%#F396CE
Lighter +20%#EE68B9
Lighter +10%#E93AA4
Darker −10%#AA136E
Darker −20%#7C0E51
Darker −30%#4E0933
Darker −40%#200415
More saturated +25%#F00091
Less saturated −25%#BA3686

Channel breakdown

R216
G24
B140
Red216 (84.7%)
Green24 (9.4%)
Blue140 (54.9%)
Hue323.75°
Saturation (HSL)80%
Lightness47.06%
Dominant channelRed
Hex per channelR D8 · G 18 · B 8C

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 “d8188c” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.