Skip to content
Vectorlight.net

#ababab

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

HEX
#ababab
RGB
171, 171, 171
HSL
0°, 0%, 67.06%
OKLCH
0.74 0 89.88
Names
—
Lists

Codes

FormatValue
HEX#ababab
RGBrgb(171 171 171)
HSLhsl(0 0% 67.06%)
OKLCHoklch(0.74 0 89.88)
CMYKcmyk(0% 0% 0% 32.94%)
Android#ffababab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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