Skip to content
Vectorlight.net

#d81972

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

HEX
#d81972
RGB
216, 25, 114
HSL
332.04°, 79.25%, 47.25%
OKLCH
0.58 0.22 0.94
Names
—
Lists

Codes

FormatValue
HEX#d81972
RGBrgb(216 25 114)
HSLhsl(332.04 79.25% 47.25%)
OKLCHoklch(0.58 0.22 0.94)
CMYKcmyk(0% 88.43% 47.22% 15.29%)
Android#ffd81972

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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