#c42420
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 | #c42420 | |
| RGB | rgb(196 36 32) | |
| HSL | hsl(1.46 71.93% 44.71%) | |
| OKLCH | oklch(0.53 0.2 27.98) | |
| CMYK | cmyk(0% 81.63% 83.67% 23.14%) | |
| Android | #ffc42420 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.80:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.62: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="#c42420"
Gradient stop
<stop stop-color="#c42420"/>
CSS variable + fill
:root { --c: #c42420; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c42420; background-color: #c42420; bg-[#c42420]