Skip to content
Vectorlight.net

#bd152f

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

HEX
#bd152f
RGB
189, 21, 47
HSL
350.71°, 80%, 41.18%
OKLCH
0.51 0.2 21.62
Names
—
Lists

Codes

FormatValue
HEX#bd152f
RGBrgb(189 21 47)
HSLhsl(350.71 80% 41.18%)
OKLCHoklch(0.51 0.2 21.62)
CMYKcmyk(0% 88.89% 75.13% 25.88%)
Android#ffbd152f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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