Skip to content
Vectorlight.net

#bf172c

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

HEX
#bf172c
RGB
191, 23, 44
HSL
352.5°, 78.5%, 41.96%
OKLCH
0.52 0.2 22.9
Names
—
Lists

Codes

FormatValue
HEX#bf172c
RGBrgb(191 23 44)
HSLhsl(352.5 78.5% 41.96%)
OKLCHoklch(0.52 0.2 22.9)
CMYKcmyk(0% 87.96% 76.96% 25.1%)
Android#ffbf172c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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