#ec04cf ≈ Shocking Pink
#ec04cf is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 92.55% red, 1.57% green and 81.18% blue; printed in CMYK it uses 0% cyan, 98.31% magenta, 12.29% yellow and 7.45% black. Its hue angle is 307.5°, with 96.67% saturation and 47.06% lightness in HSL. It sits between warm and cool, and is often associated with creativity, boldness and individuality. Designers typically use it for beauty and cosmetics, creative studios and call-to-action buttons. Black text on this color reaches a contrast ratio of 5.48:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 4.63.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ff00cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.2242 |
Shades
#ec04cf mixed progressively with black.
Tints
#ec04cf mixed progressively with white.
Tones
#ec04cf mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ec04cf {
color: #ec04cf;
}
.bg-ec04cf {
background-color: #ec04cf;
color: #000000;
}
.border-ec04cf {
border: 2px solid #ec04cf;
}
:root {
--color-primary: #ec04cf;
--color-primary-rgb: 236 4 207;
--color-primary-hsl: 308 97% 47%;
}
.gradient-ec04cf {
background: linear-gradient(135deg, #ec04cf, #ec045b);
}
.shadow-ec04cf {
box-shadow: 0 8px 24px rgb(236 4 207 / 0.35);
}
Shocking Pink
#ec04cf rgb(236, 4, 207) hsl(308, 97%, 47%) Shocking Pink
#04ec21 rgb(4, 236, 33) hsl(128, 97%, 47%) Lime
#cfec04 rgb(207, 236, 4) hsl(68, 97%, 47%) Pear
#04cfec rgb(4, 207, 236) hsl(188, 97%, 47%) Sky Blue