Skip to content
Vectorlight.net

#ba282a

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

HEX
#ba282a
RGB
186, 40, 42
HSL
359.18°, 64.6%, 44.31%
OKLCH
0.52 0.18 25.82
Names
—
Lists

Codes

FormatValue
HEX#ba282a
RGBrgb(186 40 42)
HSLhsl(359.18 64.6% 44.31%)
OKLCHoklch(0.52 0.18 25.82)
CMYKcmyk(0% 78.49% 77.42% 27.06%)
Android#ffba282a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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