Skip to content
Vectorlight.net

#ab4bad

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

HEX
#ab4bad
RGB
171, 75, 173
HSL
298.78°, 39.52%, 48.63%
OKLCH
0.57 0.17 326.76
Names
—
Lists

Codes

FormatValue
HEX#ab4bad
RGBrgb(171 75 173)
HSLhsl(298.78 39.52% 48.63%)
OKLCHoklch(0.57 0.17 326.76)
CMYKcmyk(1.16% 56.65% 0% 32.16%)
Android#ffab4bad

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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