Skip to content
Vectorlight.net

#ba080b

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

HEX
#ba080b
RGB
186, 8, 11
HSL
358.99°, 91.75%, 38.04%
OKLCH
0.5 0.2 28.51
Names
—
Lists

Codes

FormatValue
HEX#ba080b
RGBrgb(186 8 11)
HSLhsl(358.99 91.75% 38.04%)
OKLCHoklch(0.5 0.2 28.51)
CMYKcmyk(0% 95.7% 94.09% 27.06%)
Android#ffba080b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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