Skip to content
Vectorlight.net

#a2811b

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

HEX
#a2811b
RGB
162, 129, 27
HSL
45.33°, 71.43%, 37.06%
OKLCH
0.62 0.12 89.12
Names
—
Lists

Codes

FormatValue
HEX#a2811b
RGBrgb(162 129 27)
HSLhsl(45.33 71.43% 37.06%)
OKLCHoklch(0.62 0.12 89.12)
CMYKcmyk(0% 20.37% 83.33% 36.47%)
Android#ffa2811b

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
3.68:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.69:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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

Recolor an SVG with this color

CSS

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