Skip to content
Vectorlight.net

#b9012a

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

HEX
#b9012a
RGB
185, 1, 42
HSL
346.63°, 98.92%, 36.47%
OKLCH
0.5 0.2 21.43
Names
—
Lists

Codes

FormatValue
HEX#b9012a
RGBrgb(185 1 42)
HSLhsl(346.63 98.92% 36.47%)
OKLCHoklch(0.5 0.2 21.43)
CMYKcmyk(0% 99.46% 77.3% 27.45%)
Android#ffb9012a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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