Skip to content
Vectorlight.net

#ab311c

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

HEX
#ab311c
RGB
171, 49, 28
HSL
8.81°, 71.86%, 39.02%
OKLCH
0.5 0.16 32.24
Names
—
Lists

Codes

FormatValue
HEX#ab311c
RGBrgb(171 49 28)
HSLhsl(8.81 71.86% 39.02%)
OKLCHoklch(0.5 0.16 32.24)
CMYKcmyk(0% 71.35% 83.63% 32.94%)
Android#ffab311c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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