Skip to content
Vectorlight.net

#b91c2a

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

HEX
#b91c2a
RGB
185, 28, 42
HSL
354.65°, 73.71%, 41.76%
OKLCH
0.51 0.19 23.75
Names
—
Lists

Codes

FormatValue
HEX#b91c2a
RGBrgb(185 28 42)
HSLhsl(354.65 73.71% 41.76%)
OKLCHoklch(0.51 0.19 23.75)
CMYKcmyk(0% 84.86% 77.3% 27.45%)
Android#ffb91c2a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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