#c71222
Codes, contrast, shades, harmonies and SVG snippets for this color.
- Codes
- Names & lists
- Contrast
- Shades & tints
- Harmonies
- Color-blindness
- SVG snippets
- CSS
- Related colors
Codes
| Format | Value | |
|---|---|---|
| HEX | #c71222 | |
| RGB | rgb(199 18 34) | |
| HSL | hsl(354.7 83.41% 42.55%) | |
| OKLCH | oklch(0.53 0.21 25.49) | |
| CMYK | cmyk(0% 90.95% 82.91% 21.96%) | |
| Android | #ffc71222 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.93:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.53:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#c71222"
Gradient stop
<stop stop-color="#c71222"/>
CSS variable + fill
:root { --c: #c71222; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c71222; background-color: #c71222; bg-[#c71222]