Skip to content
Vectorlight.net

#d81ccb

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

HEX
#d81ccb
RGB
216, 28, 203
HSL
304.15°, 77.05%, 47.84%
OKLCH
0.62 0.27 331.69
Names
—
Lists

Codes

FormatValue
HEX#d81ccb
RGBrgb(216 28 203)
HSLhsl(304.15 77.05% 47.84%)
OKLCHoklch(0.62 0.27 331.69)
CMYKcmyk(0% 87.04% 6.02% 15.29%)
Android#ffd81ccb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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