Skip to content
Vectorlight.net

#ba511a

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

HEX
#ba511a
RGB
186, 81, 26
HSL
20.63°, 75.47%, 41.57%
OKLCH
0.56 0.15 44
Names
—
Lists

Codes

FormatValue
HEX#ba511a
RGBrgb(186 81 26)
HSLhsl(20.63 75.47% 41.57%)
OKLCHoklch(0.56 0.15 44)
CMYKcmyk(0% 56.45% 86.02% 27.06%)
Android#ffba511a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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