Skip to content
Vectorlight.net

#d2afbf

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

HEX
#d2afbf
RGB
210, 175, 191
HSL
332.57°, 28%, 75.49%
OKLCH
0.79 0.05 348.94
Names
—
Lists

Codes

FormatValue
HEX#d2afbf
RGBrgb(210 175 191)
HSLhsl(332.57 28% 75.49%)
OKLCHoklch(0.79 0.05 348.94)
CMYKcmyk(0% 16.67% 9.05% 17.65%)
Android#ffd2afbf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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