Skip to content
Vectorlight.net

#d1afcc

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

HEX
#d1afcc
RGB
209, 175, 204
HSL
308.82°, 26.98%, 75.29%
OKLCH
0.79 0.06 331.01
Names
—
Lists

Codes

FormatValue
HEX#d1afcc
RGBrgb(209 175 204)
HSLhsl(308.82 26.98% 75.29%)
OKLCHoklch(0.79 0.06 331.01)
CMYKcmyk(0% 16.27% 2.39% 18.04%)
Android#ffd1afcc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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