#ec58d4
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 | #ec58d4 | |
| RGB | rgb(236 88 212) | |
| HSL | hsl(309.73 79.57% 63.53%) | |
| OKLCH | oklch(0.7 0.23 334.71) | |
| CMYK | cmyk(0% 62.71% 10.17% 7.45%) | |
| Android | #ffec58d4 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.03:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.91: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="#ec58d4"
Gradient stop
<stop stop-color="#ec58d4"/>
CSS variable + fill
:root { --c: #ec58d4; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ec58d4; background-color: #ec58d4; bg-[#ec58d4]