Skip to content
Vectorlight.net

#d2c7dc

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

HEX
#d2c7dc
RGB
210, 199, 220
HSL
271.43°, 23.08%, 82.16%
OKLCH
0.84 0.03 309.03
Names
—
Lists

Codes

FormatValue
HEX#d2c7dc
RGBrgb(210 199 220)
HSLhsl(271.43 23.08% 82.16%)
OKLCHoklch(0.84 0.03 309.03)
CMYKcmyk(4.55% 9.55% 0% 13.73%)
Android#ffd2c7dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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