#ec42cb ≈ Shocking Pink
#ec42cb is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 92.55% red, 25.88% green and 79.61% blue; printed in CMYK it uses 0% cyan, 72.03% magenta, 13.98% yellow and 7.45% black. Its hue angle is 311.65°, with 81.73% saturation and 59.22% 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 6.21:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 3.71.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ff33cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.2604 |
Shades
#ec42cb mixed progressively with black.
Tints
#ec42cb mixed progressively with white.
Tones
#ec42cb mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ec42cb {
color: #ec42cb;
}
.bg-ec42cb {
background-color: #ec42cb;
color: #000000;
}
.border-ec42cb {
border: 2px solid #ec42cb;
}
:root {
--color-primary: #ec42cb;
--color-primary-rgb: 236 66 203;
--color-primary-hsl: 312 82% 59%;
}
.gradient-ec42cb {
background: linear-gradient(135deg, #ec42cb, #ec4276);
}
.shadow-ec42cb {
box-shadow: 0 8px 24px rgb(236 66 203 / 0.35);
}
Shocking Pink
#ec42cb rgb(236, 66, 203) hsl(312, 82%, 59%) Shocking Pink
#42ec63 rgb(66, 236, 99) hsl(132, 82%, 59%) Malachite
#cbec42 rgb(203, 236, 66) hsl(72, 82%, 59%) Pear
#42cbec rgb(66, 203, 236) hsl(192, 82%, 59%) Sky Blue