Skip to content
Vectorlight.net

#ab559e

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

HEX
#ab559e
RGB
171, 85, 158
HSL
309.07°, 33.86%, 50.2%
OKLCH
0.58 0.14 333.25
Names
—
Lists

Codes

FormatValue
HEX#ab559e
RGBrgb(171 85 158)
HSLhsl(309.07 33.86% 50.2%)
OKLCHoklch(0.58 0.14 333.25)
CMYKcmyk(0% 50.29% 7.6% 32.94%)
Android#ffab559e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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