Skip to content
Vectorlight.net

#ab557e

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

HEX
#ab557e
RGB
171, 85, 126
HSL
331.4°, 33.86%, 50.2%
OKLCH
0.57 0.12 351.79
Names
—
Lists

Codes

FormatValue
HEX#ab557e
RGBrgb(171 85 126)
HSLhsl(331.4 33.86% 50.2%)
OKLCHoklch(0.57 0.12 351.79)
CMYKcmyk(0% 50.29% 26.32% 32.94%)
Android#ffab557e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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