Skip to content
Vectorlight.net

#ab1373

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

HEX
#ab1373
RGB
171, 19, 115
HSL
322.11°, 80%, 37.25%
OKLCH
0.5 0.2 349.21
Names
—
Lists

Codes

FormatValue
HEX#ab1373
RGBrgb(171 19 115)
HSLhsl(322.11 80% 37.25%)
OKLCHoklch(0.5 0.2 349.21)
CMYKcmyk(0% 88.89% 32.75% 32.94%)
Android#ffab1373

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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