#ec7971
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 | #ec7971 | |
| RGB | rgb(236 121 113) | |
| HSL | hsl(3.9 76.4% 68.43%) | |
| OKLCH | oklch(0.71 0.14 25.46) | |
| CMYK | cmyk(0% 48.73% 52.12% 7.45%) | |
| Android | #ffec7971 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.78:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.53: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="#ec7971"
Gradient stop
<stop stop-color="#ec7971"/>
CSS variable + fill
:root { --c: #ec7971; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ec7971; background-color: #ec7971; bg-[#ec7971]