Skip to content
Vectorlight.net

#b3171e

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

HEX
#b3171e
RGB
179, 23, 30
HSL
357.31°, 77.23%, 39.61%
OKLCH
0.49 0.19 26.22
Names
—
Lists

Codes

FormatValue
HEX#b3171e
RGBrgb(179 23 30)
HSLhsl(357.31 77.23% 39.61%)
OKLCHoklch(0.49 0.19 26.22)
CMYKcmyk(0% 87.15% 83.24% 29.8%)
Android#ffb3171e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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