Skip to content
Vectorlight.net

#ba073a

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

HEX
#ba073a
RGB
186, 7, 58
HSL
342.91°, 92.75%, 37.84%
OKLCH
0.5 0.2 16.45
Names
—
Lists

Codes

FormatValue
HEX#ba073a
RGBrgb(186 7 58)
HSLhsl(342.91 92.75% 37.84%)
OKLCHoklch(0.5 0.2 16.45)
CMYKcmyk(0% 96.24% 68.82% 27.06%)
Android#ffba073a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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