#ec58cc
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 | #ec58cc | |
| RGB | rgb(236 88 204) | |
| HSL | hsl(312.97 79.57% 63.53%) | |
| OKLCH | oklch(0.69 0.22 337.25) | |
| CMYK | cmyk(0% 62.71% 13.56% 7.45%) | |
| Android | #ffec58cc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.07:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.83: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="#ec58cc"
Gradient stop
<stop stop-color="#ec58cc"/>
CSS variable + fill
:root { --c: #ec58cc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ec58cc; background-color: #ec58cc; bg-[#ec58cc]