Skip to content
Vectorlight.net

#a2afab

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

HEX
#a2afab
RGB
162, 175, 171
HSL
161.54°, 7.51%, 66.08%
OKLCH
0.74 0.02 175.55
Names
—
Lists

Codes

FormatValue
HEX#a2afab
RGBrgb(162 175 171)
HSLhsl(161.54 7.51% 66.08%)
OKLCHoklch(0.74 0.02 175.55)
CMYKcmyk(7.43% 0% 2.29% 31.37%)
Android#ffa2afab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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