Skip to content
Vectorlight.net

#c7221b

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

HEX
#c7221b
RGB
199, 34, 27
HSL
2.44°, 76.11%, 44.31%
OKLCH
0.54 0.2 28.73
Names
—
Lists

Codes

FormatValue
HEX#c7221b
RGBrgb(199 34 27)
HSLhsl(2.44 76.11% 44.31%)
OKLCHoklch(0.54 0.2 28.73)
CMYKcmyk(0% 82.91% 86.43% 21.96%)
Android#ffc7221b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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