Skip to content
Vectorlight.net

#b40b2a

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

HEX
#b40b2a
RGB
180, 11, 42
HSL
348.99°, 88.48%, 37.45%
OKLCH
0.49 0.19 21.64
Names
—
Lists

Codes

FormatValue
HEX#b40b2a
RGBrgb(180 11 42)
HSLhsl(348.99 88.48% 37.45%)
OKLCHoklch(0.49 0.19 21.64)
CMYKcmyk(0% 93.89% 76.67% 29.41%)
Android#ffb40b2a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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