Skip to content
Vectorlight.net

#ab311a

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

HEX
#ab311a
RGB
171, 49, 26
HSL
9.52°, 73.6%, 38.63%
OKLCH
0.5 0.16 32.76
Names
—
Lists

Codes

FormatValue
HEX#ab311a
RGBrgb(171 49 26)
HSLhsl(9.52 73.6% 38.63%)
OKLCHoklch(0.5 0.16 32.76)
CMYKcmyk(0% 71.35% 84.8% 32.94%)
Android#ffab311a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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