Skip to content
Vectorlight.net

#ba1031

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

HEX
#ba1031
RGB
186, 16, 49
HSL
348.35°, 84.16%, 39.61%
OKLCH
0.5 0.2 20.25
Names
—
Lists

Codes

FormatValue
HEX#ba1031
RGBrgb(186 16 49)
HSLhsl(348.35 84.16% 39.61%)
OKLCHoklch(0.5 0.2 20.25)
CMYKcmyk(0% 91.4% 73.66% 27.06%)
Android#ffba1031

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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