Skip to content
Vectorlight.net

#ab97ac

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

HEX
#ab97ac
RGB
171, 151, 172
HSL
297.14°, 11.23%, 63.33%
OKLCH
0.7 0.04 324.51
Names
—
Lists

Codes

FormatValue
HEX#ab97ac
RGBrgb(171 151 172)
HSLhsl(297.14 11.23% 63.33%)
OKLCHoklch(0.7 0.04 324.51)
CMYKcmyk(0.58% 12.21% 0% 32.55%)
Android#ffab97ac

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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