Skip to content
Vectorlight.net

#ba781a

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

HEX
#ba781a
RGB
186, 120, 26
HSL
35.25°, 75.47%, 41.57%
OKLCH
0.63 0.13 69.01
Names
—
Lists

Codes

FormatValue
HEX#ba781a
RGBrgb(186 120 26)
HSLhsl(35.25 75.47% 41.57%)
OKLCHoklch(0.63 0.13 69.01)
CMYKcmyk(0% 35.48% 86.02% 27.06%)
Android#ffba781a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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