Skip to content
Vectorlight.net

#ab5222

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

HEX
#ab5222
RGB
171, 82, 34
HSL
21.02°, 66.83%, 40.2%
OKLCH
0.54 0.13 45.87
Names
—
Lists

Codes

FormatValue
HEX#ab5222
RGBrgb(171 82 34)
HSLhsl(21.02 66.83% 40.2%)
OKLCHoklch(0.54 0.13 45.87)
CMYKcmyk(0% 52.05% 80.12% 32.94%)
Android#ffab5222

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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