#e2161e
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 | #e2161e | |
| RGB | rgb(226 22 30) | |
| HSL | hsl(357.65 82.26% 48.63%) | |
| OKLCH | oklch(0.58 0.23 27.3) | |
| CMYK | cmyk(0% 90.27% 86.73% 11.37%) | |
| Android | #ffe2161e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.80:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.36: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="#e2161e"
Gradient stop
<stop stop-color="#e2161e"/>
CSS variable + fill
:root { --c: #e2161e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #e2161e; background-color: #e2161e; bg-[#e2161e]