Skip to content
Vectorlight.net

#a5a1bf

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

HEX
#a5a1bf
RGB
165, 161, 191
HSL
248°, 18.99%, 69.02%
OKLCH
0.72 0.04 291.39
Names
—
Lists

Codes

FormatValue
HEX#a5a1bf
RGBrgb(165 161 191)
HSLhsl(248 18.99% 69.02%)
OKLCHoklch(0.72 0.04 291.39)
CMYKcmyk(13.61% 15.71% 0% 25.1%)
Android#ffa5a1bf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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