Skip to content
Vectorlight.net

#ab558e

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

HEX
#ab558e
RGB
171, 85, 142
HSL
320.23°, 33.86%, 50.2%
OKLCH
0.57 0.13 341.78
Names
—
Lists

Codes

FormatValue
HEX#ab558e
RGBrgb(171 85 142)
HSLhsl(320.23 33.86% 50.2%)
OKLCHoklch(0.57 0.13 341.78)
CMYKcmyk(0% 50.29% 16.96% 32.94%)
Android#ffab558e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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