#e5311c
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 | #e5311c | |
| RGB | rgb(229 49 28) | |
| HSL | hsl(6.27 79.45% 50.39%) | |
| OKLCH | oklch(0.6 0.22 30.64) | |
| CMYK | cmyk(0% 78.6% 87.77% 10.2%) | |
| Android | #ffe5311c |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.38:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.78: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="#e5311c"
Gradient stop
<stop stop-color="#e5311c"/>
CSS variable + fill
:root { --c: #e5311c; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #e5311c; background-color: #e5311c; bg-[#e5311c]