Skip to content
Vectorlight.net

#afa6b9

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

HEX
#afa6b9
RGB
175, 166, 185
HSL
268.42°, 11.95%, 68.82%
OKLCH
0.74 0.03 306.93
Names
—
Lists

Codes

FormatValue
HEX#afa6b9
RGBrgb(175 166 185)
HSLhsl(268.42 11.95% 68.82%)
OKLCHoklch(0.74 0.03 306.93)
CMYKcmyk(5.41% 10.27% 0% 27.45%)
Android#ffafa6b9

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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