Skip to content
Vectorlight.net

#b7271f

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

HEX
#b7271f
RGB
183, 39, 31
HSL
3.16°, 71.03%, 41.96%
OKLCH
0.51 0.18 28.67
Names
—
Lists

Codes

FormatValue
HEX#b7271f
RGBrgb(183 39 31)
HSLhsl(3.16 71.03% 41.96%)
OKLCHoklch(0.51 0.18 28.67)
CMYKcmyk(0% 78.69% 83.06% 28.24%)
Android#ffb7271f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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