Skip to content
Vectorlight.net

#ab166f

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

HEX
#ab166f
RGB
171, 22, 111
HSL
324.16°, 77.2%, 37.84%
OKLCH
0.5 0.19 351.11
Names
—
Lists

Codes

FormatValue
HEX#ab166f
RGBrgb(171 22 111)
HSLhsl(324.16 77.2% 37.84%)
OKLCHoklch(0.5 0.19 351.11)
CMYKcmyk(0% 87.13% 35.09% 32.94%)
Android#ffab166f

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
6.82:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.07:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#ab166f"
Gradient stop
<stop stop-color="#ab166f"/>
CSS variable + fill
:root { --c: #ab166f; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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