Skip to content
Vectorlight.net

#b5271a

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

HEX
#b5271a
RGB
181, 39, 26
HSL
5.03°, 74.88%, 40.59%
OKLCH
0.51 0.18 29.87
Names
—
Lists

Codes

FormatValue
HEX#b5271a
RGBrgb(181 39 26)
HSLhsl(5.03 74.88% 40.59%)
OKLCHoklch(0.51 0.18 29.87)
CMYKcmyk(0% 78.45% 85.64% 29.02%)
Android#ffb5271a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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