Skip to content
Vectorlight.net

#a6afbf

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

HEX
#a6afbf
RGB
166, 175, 191
HSL
218.4°, 16.34%, 70%
OKLCH
0.75 0.03 262.07
Names
—
Lists

Codes

FormatValue
HEX#a6afbf
RGBrgb(166 175 191)
HSLhsl(218.4 16.34% 70%)
OKLCHoklch(0.75 0.03 262.07)
CMYKcmyk(13.09% 8.38% 0% 25.1%)
Android#ffa6afbf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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