Skip to content
Vectorlight.net

#ab557d

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

HEX
#ab557d
RGB
171, 85, 125
HSL
332.09°, 33.86%, 50.2%
OKLCH
0.57 0.12 352.46
Names
—
Lists

Codes

FormatValue
HEX#ab557d
RGBrgb(171 85 125)
HSLhsl(332.09 33.86% 50.2%)
OKLCHoklch(0.57 0.12 352.46)
CMYKcmyk(0% 50.29% 26.9% 32.94%)
Android#ffab557d

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="#ab557d"
Gradient stop
<stop stop-color="#ab557d"/>
CSS variable + fill
:root { --c: #ab557d; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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