Skip to content
Vectorlight.net

#ab239f

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

HEX
#ab239f
RGB
171, 35, 159
HSL
305.29°, 66.02%, 40.39%
OKLCH
0.53 0.21 332.22
Names
—
Lists

Codes

FormatValue
HEX#ab239f
RGBrgb(171 35 159)
HSLhsl(305.29 66.02% 40.39%)
OKLCHoklch(0.53 0.21 332.22)
CMYKcmyk(0% 79.53% 7.02% 32.94%)
Android#ffab239f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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