Skip to content
Vectorlight.net

#ab116a

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

HEX
#ab116a
RGB
171, 17, 106
HSL
325.32°, 81.91%, 36.86%
OKLCH
0.49 0.19 353.09
Names
—
Lists

Codes

FormatValue
HEX#ab116a
RGBrgb(171 17 106)
HSLhsl(325.32 81.91% 36.86%)
OKLCHoklch(0.49 0.19 353.09)
CMYKcmyk(0% 90.06% 38.01% 32.94%)
Android#ffab116a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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