Skip to content
Vectorlight.net

#ab2dae

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

HEX
#ab2dae
RGB
171, 45, 174
HSL
298.6°, 58.9%, 42.94%
OKLCH
0.54 0.21 327.02
Names
—
Lists

Codes

FormatValue
HEX#ab2dae
RGBrgb(171 45 174)
HSLhsl(298.6 58.9% 42.94%)
OKLCHoklch(0.54 0.21 327.02)
CMYKcmyk(1.72% 74.14% 0% 31.76%)
Android#ffab2dae

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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