Skip to content
Vectorlight.net

#bc171a

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

HEX
#bc171a
RGB
188, 23, 26
HSL
358.91°, 78.2%, 41.37%
OKLCH
0.51 0.2 27.37
Names
—
Lists

Codes

FormatValue
HEX#bc171a
RGBrgb(188 23 26)
HSLhsl(358.91 78.2% 41.37%)
OKLCHoklch(0.51 0.2 27.37)
CMYKcmyk(0% 87.77% 86.17% 26.27%)
Android#ffbc171a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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