Skip to content
Vectorlight.net

#b5312e

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

HEX
#b5312e
RGB
181, 49, 46
HSL
1.33°, 59.47%, 44.51%
OKLCH
0.52 0.17 26.45
Names
—
Lists

Codes

FormatValue
HEX#b5312e
RGBrgb(181 49 46)
HSLhsl(1.33 59.47% 44.51%)
OKLCHoklch(0.52 0.17 26.45)
CMYKcmyk(0% 72.93% 74.59% 29.02%)
Android#ffb5312e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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