Skip to content
Vectorlight.net

#ba4e1b

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

HEX
#ba4e1b
RGB
186, 78, 27
HSL
19.25°, 74.65%, 41.76%
OKLCH
0.56 0.15 42.33
Names
—
Lists

Codes

FormatValue
HEX#ba4e1b
RGBrgb(186 78 27)
HSLhsl(19.25 74.65% 41.76%)
OKLCHoklch(0.56 0.15 42.33)
CMYKcmyk(0% 58.06% 85.48% 27.06%)
Android#ffba4e1b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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