#ec12af ≈ Shocking Pink
#ec12af 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 68.63% blue; printed in CMYK it uses 0% cyan, 92.37% magenta, 25.85% yellow and 7.45% black. Its hue angle is 316.79°, 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.27:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 3.68.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ff0099 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.2136 |
Shades
#ec12af mixed progressively with black.
Tints
#ec12af mixed progressively with white.
Tones
#ec12af mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ec12af {
color: #ec12af;
}
.bg-ec12af {
background-color: #ec12af;
color: #000000;
}
.border-ec12af {
border: 2px solid #ec12af;
}
:root {
--color-primary: #ec12af;
--color-primary-rgb: 236 18 175;
--color-primary-hsl: 317 86% 50%;
}
.gradient-ec12af {
background: linear-gradient(135deg, #ec12af, #ec1242);
}
.shadow-ec12af {
box-shadow: 0 8px 24px rgb(236 18 175 / 0.35);
}
Shocking Pink
#ec12af rgb(236, 18, 175) hsl(317, 86%, 50%) Shocking Pink
#12ec4f rgb(18, 236, 79) hsl(137, 86%, 50%) Malachite
#afec12 rgb(175, 236, 18) hsl(77, 86%, 50%) Spring Bud
#12afec rgb(18, 175, 236) hsl(197, 86%, 50%) Deep Sky Blue