Skip to content
Vectorlight.net

#ab024d

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

HEX
#ab024d
RGB
171, 2, 77
HSL
333.37°, 97.69%, 33.92%
OKLCH
0.48 0.19 5.6
Names
—
Lists

Codes

FormatValue
HEX#ab024d
RGBrgb(171 2 77)
HSLhsl(333.37 97.69% 33.92%)
OKLCHoklch(0.48 0.19 5.6)
CMYKcmyk(0% 98.83% 54.97% 32.94%)
Android#ffab024d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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