Skip to content
Vectorlight.net

#afb7af

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

HEX
#afb7af
RGB
175, 183, 175
HSL
120°, 5.26%, 70.2%
OKLCH
0.77 0.01 145.43
Names
—
Lists

Codes

FormatValue
HEX#afb7af
RGBrgb(175 183 175)
HSLhsl(120 5.26% 70.2%)
OKLCHoklch(0.77 0.01 145.43)
CMYKcmyk(4.37% 0% 4.37% 28.24%)
Android#ffafb7af

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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