Skip to content
Vectorlight.net

#ba0e34

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

HEX
#ba0e34
RGB
186, 14, 52
HSL
346.74°, 86%, 39.22%
OKLCH
0.5 0.2 19.06
Names
—
Lists

Codes

FormatValue
HEX#ba0e34
RGBrgb(186 14 52)
HSLhsl(346.74 86% 39.22%)
OKLCHoklch(0.5 0.2 19.06)
CMYKcmyk(0% 92.47% 72.04% 27.06%)
Android#ffba0e34

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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