Skip to content
Vectorlight.net

#d8199c

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

HEX
#d8199c
RGB
216, 25, 156
HSL
318.85°, 79.25%, 47.25%
OKLCH
0.59 0.24 345.87
Names
—
Lists

Codes

FormatValue
HEX#d8199c
RGBrgb(216 25 156)
HSLhsl(318.85 79.25% 47.25%)
OKLCHoklch(0.59 0.24 345.87)
CMYKcmyk(0% 88.43% 27.78% 15.29%)
Android#ffd8199c

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.62:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.53:1
Pass 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="#d8199c"
Gradient stop
<stop stop-color="#d8199c"/>
CSS variable + fill
:root { --c: #d8199c; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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