Skip to content
Vectorlight.net

#d1afca

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

HEX
#d1afca
RGB
209, 175, 202
HSL
312.35°, 26.98%, 75.29%
OKLCH
0.79 0.05 333.2
Names
—
Lists

Codes

FormatValue
HEX#d1afca
RGBrgb(209 175 202)
HSLhsl(312.35 26.98% 75.29%)
OKLCHoklch(0.79 0.05 333.2)
CMYKcmyk(0% 16.27% 3.35% 18.04%)
Android#ffd1afca

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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