Skip to content
Vectorlight.net

#ab557f

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

HEX
#ab557f
RGB
171, 85, 127
HSL
330.7°, 33.86%, 50.2%
OKLCH
0.57 0.12 351.12
Names
—
Lists

Codes

FormatValue
HEX#ab557f
RGBrgb(171 85 127)
HSLhsl(330.7 33.86% 50.2%)
OKLCHoklch(0.57 0.12 351.12)
CMYKcmyk(0% 50.29% 25.73% 32.94%)
Android#ffab557f

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

Recolor an SVG with this color

CSS

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