Skip to content
Vectorlight.net

#ba321a

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

HEX
#ba321a
RGB
186, 50, 26
HSL
9°, 75.47%, 41.57%
OKLCH
0.52 0.18 32.34
Names
—
Lists

Codes

FormatValue
HEX#ba321a
RGBrgb(186 50 26)
HSLhsl(9 75.47% 41.57%)
OKLCHoklch(0.52 0.18 32.34)
CMYKcmyk(0% 73.12% 86.02% 27.06%)
Android#ffba321a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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