Skip to content
Vectorlight.net

#d2afcf

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

HEX
#d2afcf
RGB
210, 175, 207
HSL
305.14°, 28%, 75.49%
OKLCH
0.79 0.06 328.89
Names
—
Lists

Codes

FormatValue
HEX#d2afcf
RGBrgb(210 175 207)
HSLhsl(305.14 28% 75.49%)
OKLCHoklch(0.79 0.06 328.89)
CMYKcmyk(0% 16.67% 1.43% 17.65%)
Android#ffd2afcf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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