Skip to content
Vectorlight.net

#ba062d

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

HEX
#ba062d
RGB
186, 6, 45
HSL
347°, 93.75%, 37.65%
OKLCH
0.5 0.2 20.89
Names
—
Lists

Codes

FormatValue
HEX#ba062d
RGBrgb(186 6 45)
HSLhsl(347 93.75% 37.65%)
OKLCHoklch(0.5 0.2 20.89)
CMYKcmyk(0% 96.77% 75.81% 27.06%)
Android#ffba062d

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
6.66: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="#ba062d"
Gradient stop
<stop stop-color="#ba062d"/>
CSS variable + fill
:root { --c: #ba062d; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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