Skip to content
Vectorlight.net

#ab502f

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

HEX
#ab502f
RGB
171, 80, 47
HSL
15.97°, 56.88%, 42.75%
OKLCH
0.54 0.13 39.92
Names
—
Lists

Codes

FormatValue
HEX#ab502f
RGBrgb(171 80 47)
HSLhsl(15.97 56.88% 42.75%)
OKLCHoklch(0.54 0.13 39.92)
CMYKcmyk(0% 53.22% 72.51% 32.94%)
Android#ffab502f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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