Skip to content
Vectorlight.net

#ba522a

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

HEX
#ba522a
RGB
186, 82, 42
HSL
16.67°, 63.16%, 44.71%
OKLCH
0.56 0.14 40.35
Names
—
Lists

Codes

FormatValue
HEX#ba522a
RGBrgb(186 82 42)
HSLhsl(16.67 63.16% 44.71%)
OKLCHoklch(0.56 0.14 40.35)
CMYKcmyk(0% 55.91% 77.42% 27.06%)
Android#ffba522a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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