Skip to content
Vectorlight.net

#afbfa2

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

HEX
#afbfa2
RGB
175, 191, 162
HSL
93.1°, 18.47%, 69.22%
OKLCH
0.78 0.04 131.04
Names
—
Lists

Codes

FormatValue
HEX#afbfa2
RGBrgb(175 191 162)
HSLhsl(93.1 18.47% 69.22%)
OKLCHoklch(0.78 0.04 131.04)
CMYKcmyk(8.38% 0% 15.18% 25.1%)
Android#ffafbfa2

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.79: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="#afbfa2"
Gradient stop
<stop stop-color="#afbfa2"/>
CSS variable + fill
:root { --c: #afbfa2; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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