Skip to content
Vectorlight.net

#d871cd

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

HEX
#d871cd
RGB
216, 113, 205
HSL
306.41°, 56.91%, 64.51%
OKLCH
0.7 0.17 331.33
Names
—
Lists

Codes

FormatValue
HEX#d871cd
RGBrgb(216 113 205)
HSLhsl(306.41 56.91% 64.51%)
OKLCHoklch(0.7 0.17 331.33)
CMYKcmyk(0% 47.69% 5.09% 15.29%)
Android#ffd871cd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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