#ef474b
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 | #ef474b | |
| RGB | rgb(239 71 75) | |
| HSL | hsl(358.57 84% 60.78%) | |
| OKLCH | oklch(0.64 0.2 23.86) | |
| CMYK | cmyk(0% 70.29% 68.62% 6.27%) | |
| Android | #ffef474b |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.70:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.67: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="#ef474b"
Gradient stop
<stop stop-color="#ef474b"/>
CSS variable + fill
:root { --c: #ef474b; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ef474b; background-color: #ef474b; bg-[#ef474b]