Skip to content
Vectorlight.net

#ab3f97

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

HEX
#ab3f97
RGB
171, 63, 151
HSL
311.11°, 46.15%, 45.88%
OKLCH
0.55 0.17 335.7
Names
—
Lists

Codes

FormatValue
HEX#ab3f97
RGBrgb(171 63 151)
HSLhsl(311.11 46.15% 45.88%)
OKLCHoklch(0.55 0.17 335.7)
CMYKcmyk(0% 63.16% 11.7% 32.94%)
Android#ffab3f97

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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