Skip to content
Vectorlight.net

#afb7ab

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

HEX
#afb7ab
RGB
175, 183, 171
HSL
100°, 7.69%, 69.41%
OKLCH
0.77 0.02 134.95
Names
—
Lists

Codes

FormatValue
HEX#afb7ab
RGBrgb(175 183 171)
HSLhsl(100 7.69% 69.41%)
OKLCHoklch(0.77 0.02 134.95)
CMYKcmyk(4.37% 0% 6.56% 28.24%)
Android#ffafb7ab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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