Skip to content
Vectorlight.net

#ab358b

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

HEX
#ab358b
RGB
171, 53, 139
HSL
316.27°, 52.68%, 43.92%
OKLCH
0.53 0.18 340.51
Names
—
Lists

Codes

FormatValue
HEX#ab358b
RGBrgb(171 53 139)
HSLhsl(316.27 52.68% 43.92%)
OKLCHoklch(0.53 0.18 340.51)
CMYKcmyk(0% 69.01% 18.71% 32.94%)
Android#ffab358b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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