Skip to content
Vectorlight.net

#ba3545

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

HEX
#ba3545
RGB
186, 53, 69
HSL
352.78°, 55.65%, 46.86%
OKLCH
0.53 0.17 18.45
Names
—
Lists

Codes

FormatValue
HEX#ba3545
RGBrgb(186 53 69)
HSLhsl(352.78 55.65% 46.86%)
OKLCHoklch(0.53 0.17 18.45)
CMYKcmyk(0% 71.51% 62.9% 27.06%)
Android#ffba3545

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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