#ec557e
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 | #ec557e | |
| RGB | rgb(236 85 126) | |
| HSL | hsl(343.71 79.89% 62.94%) | |
| OKLCH | oklch(0.66 0.19 7.28) | |
| CMYK | cmyk(0% 63.98% 46.61% 7.45%) | |
| Android | #ffec557e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.40:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.16: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="#ec557e"
Gradient stop
<stop stop-color="#ec557e"/>
CSS variable + fill
:root { --c: #ec557e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ec557e; background-color: #ec557e; bg-[#ec557e]