Skip to content
Vectorlight.net

#ba062e

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

HEX
#ba062e
RGB
186, 6, 46
HSL
346.67°, 93.75%, 37.65%
OKLCH
0.5 0.2 20.57
Names
—
Lists

Codes

FormatValue
HEX#ba062e
RGBrgb(186 6 46)
HSLhsl(346.67 93.75% 37.65%)
OKLCHoklch(0.5 0.2 20.57)
CMYKcmyk(0% 96.77% 75.27% 27.06%)
Android#ffba062e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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