Skip to content
Vectorlight.net

#bf172d

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

HEX
#bf172d
RGB
191, 23, 45
HSL
352.14°, 78.5%, 41.96%
OKLCH
0.52 0.2 22.6
Names
—
Lists

Codes

FormatValue
HEX#bf172d
RGBrgb(191 23 45)
HSLhsl(352.14 78.5% 41.96%)
OKLCHoklch(0.52 0.2 22.6)
CMYKcmyk(0% 87.96% 76.44% 25.1%)
Android#ffbf172d

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="#bf172d"
Gradient stop
<stop stop-color="#bf172d"/>
CSS variable + fill
:root { --c: #bf172d; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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