Skip to content
Vectorlight.net

#ba2b3c

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

HEX
#ba2b3c
RGB
186, 43, 60
HSL
352.87°, 62.45%, 44.9%
OKLCH
0.52 0.18 19.97
Names
—
Lists

Codes

FormatValue
HEX#ba2b3c
RGBrgb(186 43 60)
HSLhsl(352.87 62.45% 44.9%)
OKLCHoklch(0.52 0.18 19.97)
CMYKcmyk(0% 76.88% 67.74% 27.06%)
Android#ffba2b3c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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