Skip to content
Vectorlight.net

#b2402f

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

HEX
#b2402f
RGB
178, 64, 47
HSL
7.79°, 58.22%, 44.12%
OKLCH
0.53 0.15 31.09
Names
—
Lists

Codes

FormatValue
HEX#b2402f
RGBrgb(178 64 47)
HSLhsl(7.79 58.22% 44.12%)
OKLCHoklch(0.53 0.15 31.09)
CMYKcmyk(0% 64.04% 73.6% 30.2%)
Android#ffb2402f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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