Skip to content
Vectorlight.net

#ab115c

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

HEX
#ab115c
RGB
171, 17, 92
HSL
330.78°, 81.91%, 36.86%
OKLCH
0.49 0.19 359.49
Names
—
Lists

Codes

FormatValue
HEX#ab115c
RGBrgb(171 17 92)
HSLhsl(330.78 81.91% 36.86%)
OKLCHoklch(0.49 0.19 359.49)
CMYKcmyk(0% 90.06% 46.2% 32.94%)
Android#ffab115c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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