Skip to content
Vectorlight.net

#b02a2b

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

HEX
#b02a2b
RGB
176, 42, 43
HSL
359.55°, 61.47%, 42.75%
OKLCH
0.5 0.17 25.58
Names
—
Lists

Codes

FormatValue
HEX#b02a2b
RGBrgb(176 42 43)
HSLhsl(359.55 61.47% 42.75%)
OKLCHoklch(0.5 0.17 25.58)
CMYKcmyk(0% 76.14% 75.57% 30.98%)
Android#ffb02a2b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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