Skip to content
Vectorlight.net

#ba401b

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

HEX
#ba401b
RGB
186, 64, 27
HSL
13.96°, 74.65%, 41.76%
OKLCH
0.54 0.16 36.49
Names
—
Lists

Codes

FormatValue
HEX#ba401b
RGBrgb(186 64 27)
HSLhsl(13.96 74.65% 41.76%)
OKLCHoklch(0.54 0.16 36.49)
CMYKcmyk(0% 65.59% 85.48% 27.06%)
Android#ffba401b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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