Skip to content
Vectorlight.net

#ab1817

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

HEX
#ab1817
RGB
171, 24, 23
HSL
0.41°, 76.29%, 38.04%
OKLCH
0.48 0.18 27.84
Names
—
Lists

Codes

FormatValue
HEX#ab1817
RGBrgb(171 24 23)
HSLhsl(0.41 76.29% 38.04%)
OKLCHoklch(0.48 0.18 27.84)
CMYKcmyk(0% 85.96% 86.55% 32.94%)
Android#ffab1817

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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