Skip to content
Vectorlight.net

#ba520f

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

HEX
#ba520f
RGB
186, 82, 15
HSL
23.51°, 85.07%, 39.41%
OKLCH
0.56 0.15 46.34
Names
—
Lists

Codes

FormatValue
HEX#ba520f
RGBrgb(186 82 15)
HSLhsl(23.51 85.07% 39.41%)
OKLCHoklch(0.56 0.15 46.34)
CMYKcmyk(0% 55.91% 91.94% 27.06%)
Android#ffba520f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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