Skip to content
Vectorlight.net

#ba003d

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

HEX
#ba003d
RGB
186, 0, 61
HSL
340.32°, 100%, 36.47%
OKLCH
0.5 0.2 14.93
Names
—
Lists

Codes

FormatValue
HEX#ba003d
RGBrgb(186 0 61)
HSLhsl(340.32 100% 36.47%)
OKLCHoklch(0.5 0.2 14.93)
CMYKcmyk(0% 100% 67.2% 27.06%)
Android#ffba003d

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

Recolor an SVG with this color

CSS

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