Skip to content
Vectorlight.net

#d7111f

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

HEX
#d7111f
RGB
215, 17, 31
HSL
355.76°, 85.34%, 45.49%
OKLCH
0.56 0.22 26.54
Names
—
Lists

Codes

FormatValue
HEX#d7111f
RGBrgb(215 17 31)
HSLhsl(355.76 85.34% 45.49%)
OKLCHoklch(0.56 0.22 26.54)
CMYKcmyk(0% 92.09% 85.58% 15.69%)
Android#ffd7111f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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