#e42420
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 | #e42420 | |
| RGB | rgb(228 36 32) | |
| HSL | hsl(1.22 78.4% 50.98%) | |
| OKLCH | oklch(0.59 0.22 28.28) | |
| CMYK | cmyk(0% 84.21% 85.96% 10.59%) | |
| Android | #ffe42420 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.59:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.57:1
Pass 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="#e42420"
Gradient stop
<stop stop-color="#e42420"/>
CSS variable + fill
:root { --c: #e42420; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #e42420; background-color: #e42420; bg-[#e42420]