#cc101d
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 | #cc101d | |
| RGB | rgb(204 16 29) | |
| HSL | hsl(355.85 85.45% 43.14%) | |
| OKLCH | oklch(0.54 0.21 26.55) | |
| CMYK | cmyk(0% 92.16% 85.78% 20%) | |
| Android | #ffcc101d |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.73: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="#cc101d"
Gradient stop
<stop stop-color="#cc101d"/>
CSS variable + fill
:root { --c: #cc101d; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cc101d; background-color: #cc101d; bg-[#cc101d]