Skip to content
Vectorlight.net

#b5182b

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

HEX
#b5182b
RGB
181, 24, 43
HSL
352.74°, 76.59%, 40.2%
OKLCH
0.5 0.19 22.65
Names
—
Lists

Codes

FormatValue
HEX#b5182b
RGBrgb(181 24 43)
HSLhsl(352.74 76.59% 40.2%)
OKLCHoklch(0.5 0.19 22.65)
CMYKcmyk(0% 86.74% 76.24% 29.02%)
Android#ffb5182b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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