Skip to content
Vectorlight.net

#ab396d

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

HEX
#ab396d
RGB
171, 57, 109
HSL
332.63°, 50%, 44.71%
OKLCH
0.52 0.16 355.79
Names
—
Lists

Codes

FormatValue
HEX#ab396d
RGBrgb(171 57 109)
HSLhsl(332.63 50% 44.71%)
OKLCHoklch(0.52 0.16 355.79)
CMYKcmyk(0% 66.67% 36.26% 32.94%)
Android#ffab396d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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