Skip to content
Vectorlight.net

#b9302a

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

HEX
#b9302a
RGB
185, 48, 42
HSL
2.52°, 63%, 44.51%
OKLCH
0.52 0.17 27.6
Names
—
Lists

Codes

FormatValue
HEX#b9302a
RGBrgb(185 48 42)
HSLhsl(2.52 63% 44.51%)
OKLCHoklch(0.52 0.17 27.6)
CMYKcmyk(0% 74.05% 77.3% 27.45%)
Android#ffb9302a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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