#ec405d
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 | #ec405d | |
| RGB | rgb(236 64 93) | |
| HSL | hsl(349.88 81.9% 58.82%) | |
| OKLCH | oklch(0.63 0.21 16.19) | |
| CMYK | cmyk(0% 72.88% 60.59% 7.45%) | |
| Android | #ffec405d |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.84:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.45: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="#ec405d"
Gradient stop
<stop stop-color="#ec405d"/>
CSS variable + fill
:root { --c: #ec405d; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ec405d; background-color: #ec405d; bg-[#ec405d]