#ec0cd4 ≈ Shocking Pink
#ec0cd4 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 92.55% red, 4.71% green and 83.14% blue; printed in CMYK it uses 0% cyan, 94.92% magenta, 10.17% yellow and 7.45% black. Its hue angle is 306.43°, with 90.32% saturation and 48.63% 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.57:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 5.03.
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.2285 |
Shades
#ec0cd4 mixed progressively with black.
Tints
#ec0cd4 mixed progressively with white.
Tones
#ec0cd4 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ec0cd4 {
color: #ec0cd4;
}
.bg-ec0cd4 {
background-color: #ec0cd4;
color: #000000;
}
.border-ec0cd4 {
border: 2px solid #ec0cd4;
}
:root {
--color-primary: #ec0cd4;
--color-primary-rgb: 236 12 212;
--color-primary-hsl: 306 90% 49%;
}
.gradient-ec0cd4 {
background: linear-gradient(135deg, #ec0cd4, #ec0c64);
}
.shadow-ec0cd4 {
box-shadow: 0 8px 24px rgb(236 12 212 / 0.35);
}
Shocking Pink
#ec0cd4 rgb(236, 12, 212) hsl(306, 90%, 49%) Shocking Pink
#0cec24 rgb(12, 236, 36) hsl(126, 90%, 49%) Lime
#d4ec0c rgb(212, 236, 12) hsl(66, 90%, 49%) Pear
#0cd4ec rgb(12, 212, 236) hsl(186, 90%, 49%) Dark Turquoise