Skip to content
Vectorlight.net

#afb2bf

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

HEX
#afb2bf
RGB
175, 178, 191
HSL
228.75°, 11.11%, 71.76%
OKLCH
0.77 0.02 275.56
Names
—
Lists

Codes

FormatValue
HEX#afb2bf
RGBrgb(175 178 191)
HSLhsl(228.75 11.11% 71.76%)
OKLCHoklch(0.77 0.02 275.56)
CMYKcmyk(8.38% 6.81% 0% 25.1%)
Android#ffafb2bf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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