Skip to content
Vectorlight.net

#a1a1a1

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

HEX
#a1a1a1
RGB
161, 161, 161
HSL
0°, 0%, 63.14%
OKLCH
0.71 0 89.88
Names
—
Lists

Codes

FormatValue
HEX#a1a1a1
RGBrgb(161 161 161)
HSLhsl(0 0% 63.14%)
OKLCHoklch(0.71 0 89.88)
CMYKcmyk(0% 0% 0% 36.86%)
Android#ffa1a1a1

Names & lists

Web-safe: No

Tailwind: neutral-400

Contrast

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

Recolor an SVG with this color

CSS

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