Skip to content
Vectorlight.net

#ab057e

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

HEX
#ab057e
RGB
171, 5, 126
HSL
316.27°, 94.32%, 34.51%
OKLCH
0.5 0.21 344.28
Names
—
Lists

Codes

FormatValue
HEX#ab057e
RGBrgb(171 5 126)
HSLhsl(316.27 94.32% 34.51%)
OKLCHoklch(0.5 0.21 344.28)
CMYKcmyk(0% 97.08% 26.32% 32.94%)
Android#ffab057e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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