#e51135
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 | #e51135 | |
| RGB | rgb(229 17 53) | |
| HSL | hsl(349.81 86.18% 48.24%) | |
| OKLCH | oklch(0.59 0.23 22.42) | |
| CMYK | cmyk(0% 92.58% 76.86% 10.2%) | |
| Android | #ffe51135 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.70:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.46: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="#e51135"
Gradient stop
<stop stop-color="#e51135"/>
CSS variable + fill
:root { --c: #e51135; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #e51135; background-color: #e51135; bg-[#e51135]