#ec12cf ≈ Shocking Pink
#ec12cf is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 92.55% red, 7.06% green and 81.18% blue; printed in CMYK it uses 0% cyan, 92.37% magenta, 12.29% yellow and 7.45% black. Its hue angle is 307.98°, with 85.83% saturation and 49.8% 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.55:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 4.41.
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.2277 |
Shades
#ec12cf mixed progressively with black.
Tints
#ec12cf mixed progressively with white.
Tones
#ec12cf mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ec12cf {
color: #ec12cf;
}
.bg-ec12cf {
background-color: #ec12cf;
color: #000000;
}
.border-ec12cf {
border: 2px solid #ec12cf;
}
:root {
--color-primary: #ec12cf;
--color-primary-rgb: 236 18 207;
--color-primary-hsl: 308 86% 50%;
}
.gradient-ec12cf {
background: linear-gradient(135deg, #ec12cf, #ec1262);
}
.shadow-ec12cf {
box-shadow: 0 8px 24px rgb(236 18 207 / 0.35);
}
Shocking Pink
#ec12cf rgb(236, 18, 207) hsl(308, 86%, 50%) Shocking Pink
#12ec2f rgb(18, 236, 47) hsl(128, 86%, 50%) Lime
#cfec12 rgb(207, 236, 18) hsl(68, 86%, 50%) Pear
#12cfec rgb(18, 207, 236) hsl(188, 86%, 50%) Sky Blue