#ec3545
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 | #ec3545 | |
| RGB | rgb(236 53 69) | |
| HSL | hsl(354.75 82.81% 56.67%) | |
| OKLCH | oklch(0.62 0.22 22.21) | |
| CMYK | cmyk(0% 77.54% 70.76% 7.45%) | |
| Android | #ffec3545 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.06:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.16: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="#ec3545"
Gradient stop
<stop stop-color="#ec3545"/>
CSS variable + fill
:root { --c: #ec3545; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ec3545; background-color: #ec3545; bg-[#ec3545]