#ec12cc ≈ Shocking Pink
#ec12cc 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 80% blue; printed in CMYK it uses 0% cyan, 92.37% magenta, 13.56% yellow and 7.45% black. Its hue angle is 308.81°, 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.53:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 4.11.
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.2263 |
Shades
#ec12cc mixed progressively with black.
Tints
#ec12cc mixed progressively with white.
Tones
#ec12cc mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ec12cc {
color: #ec12cc;
}
.bg-ec12cc {
background-color: #ec12cc;
color: #000000;
}
.border-ec12cc {
border: 2px solid #ec12cc;
}
:root {
--color-primary: #ec12cc;
--color-primary-rgb: 236 18 204;
--color-primary-hsl: 309 86% 50%;
}
.gradient-ec12cc {
background: linear-gradient(135deg, #ec12cc, #ec125f);
}
.shadow-ec12cc {
box-shadow: 0 8px 24px rgb(236 18 204 / 0.35);
}
Shocking Pink
#ec12cc rgb(236, 18, 204) hsl(309, 86%, 50%) Shocking Pink
#12ec32 rgb(18, 236, 50) hsl(129, 86%, 50%) Lime
#ccec12 rgb(204, 236, 18) hsl(69, 86%, 50%) Pear
#12ccec rgb(18, 204, 236) hsl(189, 86%, 50%) Sky Blue