#cc0e22
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 | #cc0e22 | |
| RGB | rgb(204 14 34) | |
| HSL | hsl(353.68 87.16% 42.75%) | |
| OKLCH | oklch(0.54 0.21 25.4) | |
| CMYK | cmyk(0% 93.14% 83.33% 20%) | |
| Android | #ffcc0e22 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.74:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.65: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="#cc0e22"
Gradient stop
<stop stop-color="#cc0e22"/>
CSS variable + fill
:root { --c: #cc0e22; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cc0e22; background-color: #cc0e22; bg-[#cc0e22]