Skip to content
Vectorlight.net

#d8188e

Codes, contrast, shades, harmonies and SVG snippets for this color.

HEX
#d8188e
RGB
216, 24, 142
HSL
323.13°, 80%, 47.06%
OKLCH
0.59 0.23 350.65
Names
—
Lists

Codes

FormatValue
HEX#d8188e
RGBrgb(216 24 142)
HSLhsl(323.13 80% 47.06%)
OKLCHoklch(0.59 0.23 350.65)
CMYKcmyk(0% 88.89% 34.26% 15.29%)
Android#ffd8188e

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.72:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.44:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

Open in contrast checker

Shades & tints

OKLCH lightness, mixed toward white then black.

Open in shades & tints

Harmonies

Complementary

Analogous

Triadic

Open in palette generator

Color-blindness

Normal
Protanopia
Deuteranopia
Tritanopia

Open simulator

SVG snippets

fill
fill="#d8188e"
Gradient stop
<stop stop-color="#d8188e"/>
CSS variable + fill
:root { --c: #d8188e; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #d8188e;
background-color: #d8188e;
bg-[#d8188e]