Skip to content
Vectorlight.net

#d81ccf

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

HEX
#d81ccf
RGB
216, 28, 207
HSL
302.87°, 77.05%, 47.84%
OKLCH
0.62 0.27 330.61
Names
—
Lists

Codes

FormatValue
HEX#d81ccf
RGBrgb(216 28 207)
HSLhsl(302.87 77.05% 47.84%)
OKLCHoklch(0.62 0.27 330.61)
CMYKcmyk(0% 87.04% 4.17% 15.29%)
Android#ffd81ccf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

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="#d81ccf"
Gradient stop
<stop stop-color="#d81ccf"/>
CSS variable + fill
:root { --c: #d81ccf; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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