Skip to content
Vectorlight.net

#ab420a

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

HEX
#ab420a
RGB
171, 66, 10
HSL
20.87°, 88.95%, 35.49%
OKLCH
0.52 0.15 42.33
Names
—
Lists

Codes

FormatValue
HEX#ab420a
RGBrgb(171 66 10)
HSLhsl(20.87 88.95% 35.49%)
OKLCHoklch(0.52 0.15 42.33)
CMYKcmyk(0% 61.4% 94.15% 32.94%)
Android#ffab420a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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