#e7231e
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 | #e7231e | |
| RGB | rgb(231 35 30) | |
| HSL | hsl(1.49 80.72% 51.18%) | |
| OKLCH | oklch(0.59 0.23 28.51) | |
| CMYK | cmyk(0% 84.85% 87.01% 9.41%) | |
| Android | #ffe7231e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.50:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.65: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="#e7231e"
Gradient stop
<stop stop-color="#e7231e"/>
CSS variable + fill
:root { --c: #e7231e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #e7231e; background-color: #e7231e; bg-[#e7231e]