#ed4444
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 | #ed4444 | |
| RGB | rgb(237 68 68) | |
| HSL | hsl(0 82.44% 59.8%) | |
| OKLCH | oklch(0.63 0.21 25.28) | |
| CMYK | cmyk(0% 71.31% 71.31% 7.06%) | |
| Android | #ffed4444 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.81:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.51: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="#ed4444"
Gradient stop
<stop stop-color="#ed4444"/>
CSS variable + fill
:root { --c: #ed4444; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ed4444; background-color: #ed4444; bg-[#ed4444]