Skip to content
Vectorlight.net

#afb7ba

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

HEX
#afb7ba
RGB
175, 183, 186
HSL
196.36°, 7.38%, 70.78%
OKLCH
0.77 0.01 222.09
Names
—
Lists

Codes

FormatValue
HEX#afb7ba
RGBrgb(175 183 186)
HSLhsl(196.36 7.38% 70.78%)
OKLCHoklch(0.77 0.01 222.09)
CMYKcmyk(5.91% 1.61% 0% 27.06%)
Android#ffafb7ba

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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