Skip to content
Vectorlight.net

#bd171c

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

HEX
#bd171c
RGB
189, 23, 28
HSL
358.19°, 78.3%, 41.57%
OKLCH
0.51 0.2 26.97
Names
—
Lists

Codes

FormatValue
HEX#bd171c
RGBrgb(189 23 28)
HSLhsl(358.19 78.3% 41.57%)
OKLCHoklch(0.51 0.2 26.97)
CMYKcmyk(0% 87.83% 85.19% 25.88%)
Android#ffbd171c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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