#e01f1a
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 | #e01f1a | |
| RGB | rgb(224 31 26) | |
| HSL | hsl(1.52 79.2% 49.02%) | |
| OKLCH | oklch(0.58 0.22 28.65) | |
| CMYK | cmyk(0% 86.16% 88.39% 12.16%) | |
| Android | #ffe01f1a |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.79:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.38: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="#e01f1a"
Gradient stop
<stop stop-color="#e01f1a"/>
CSS variable + fill
:root { --c: #e01f1a; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #e01f1a; background-color: #e01f1a; bg-[#e01f1a]