Skip to content
Vectorlight.net

#d81f95

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

HEX
#d81f95
RGB
216, 31, 149
HSL
321.73°, 74.9%, 48.43%
OKLCH
0.59 0.23 348.44
Names
—
Lists

Codes

FormatValue
HEX#d81f95
RGBrgb(216 31 149)
HSLhsl(321.73 74.9% 48.43%)
OKLCHoklch(0.59 0.23 348.44)
CMYKcmyk(0% 85.65% 31.02% 15.29%)
Android#ffd81f95

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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