Skip to content
Vectorlight.net

#ab5b95

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

HEX
#ab5b95
RGB
171, 91, 149
HSL
316.5°, 32.26%, 51.37%
OKLCH
0.58 0.13 338.44
Names
—
Lists

Codes

FormatValue
HEX#ab5b95
RGBrgb(171 91 149)
HSLhsl(316.5 32.26% 51.37%)
OKLCHoklch(0.58 0.13 338.44)
CMYKcmyk(0% 46.78% 12.87% 32.94%)
Android#ffab5b95

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.50:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.66:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#ab5b95"
Gradient stop
<stop stop-color="#ab5b95"/>
CSS variable + fill
:root { --c: #ab5b95; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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