Skip to content
Vectorlight.net

#dc87b2

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

HEX
#dc87b2
RGB
220, 135, 178
HSL
329.65°, 54.84%, 69.61%
OKLCH
0.72 0.12 348.7
Names
—
Lists

Codes

FormatValue
HEX#dc87b2
RGBrgb(220 135 178)
HSLhsl(329.65 54.84% 69.61%)
OKLCHoklch(0.72 0.12 348.7)
CMYKcmyk(0% 38.64% 19.09% 13.73%)
Android#ffdc87b2

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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