Skip to content
Vectorlight.net

#ab557c

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

HEX
#ab557c
RGB
171, 85, 124
HSL
332.79°, 33.86%, 50.2%
OKLCH
0.57 0.12 353.14
Names
—
Lists

Codes

FormatValue
HEX#ab557c
RGBrgb(171 85 124)
HSLhsl(332.79 33.86% 50.2%)
OKLCHoklch(0.57 0.12 353.14)
CMYKcmyk(0% 50.29% 27.49% 32.94%)
Android#ffab557c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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