Skip to content
Vectorlight.net

#a2afbb

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

HEX
#a2afbb
RGB
162, 175, 187
HSL
208.8°, 15.53%, 68.43%
OKLCH
0.75 0.02 245.94
Names
—
Lists

Codes

FormatValue
HEX#a2afbb
RGBrgb(162 175 187)
HSLhsl(208.8 15.53% 68.43%)
OKLCHoklch(0.75 0.02 245.94)
CMYKcmyk(13.37% 6.42% 0% 26.67%)
Android#ffa2afbb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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