#e22b2f
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 | #e22b2f | |
| RGB | rgb(226 43 47) | |
| HSL | hsl(358.69 75.93% 52.75%) | |
| OKLCH | oklch(0.59 0.22 26.15) | |
| CMYK | cmyk(0% 80.97% 79.2% 11.37%) | |
| Android | #ffe22b2f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.54:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.62:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#e22b2f"
Gradient stop
<stop stop-color="#e22b2f"/>
CSS variable + fill
:root { --c: #e22b2f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #e22b2f; background-color: #e22b2f; bg-[#e22b2f]