Skip to content
Vectorlight.net

#ab511b

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

HEX
#ab511b
RGB
171, 81, 27
HSL
22.5°, 72.73%, 38.82%
OKLCH
0.54 0.13 47.17
Names
—
Lists

Codes

FormatValue
HEX#ab511b
RGBrgb(171 81 27)
HSLhsl(22.5 72.73% 38.82%)
OKLCHoklch(0.54 0.13 47.17)
CMYKcmyk(0% 52.63% 84.21% 32.94%)
Android#ffab511b

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

Recolor an SVG with this color

CSS

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