Skip to content
Vectorlight.net

#ab255b

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

HEX
#ab255b
RGB
171, 37, 91
HSL
335.82°, 64.42%, 40.78%
OKLCH
0.5 0.17 1.95
Names
—
Lists

Codes

FormatValue
HEX#ab255b
RGBrgb(171 37 91)
HSLhsl(335.82 64.42% 40.78%)
OKLCHoklch(0.5 0.17 1.95)
CMYKcmyk(0% 78.36% 46.78% 32.94%)
Android#ffab255b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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