#ec2ac2 ≈ Shocking Pink
#ec2ac2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 92.55% red, 16.47% green and 76.08% blue; printed in CMYK it uses 0% cyan, 82.2% magenta, 17.8% yellow and 7.45% black. Its hue angle is 312.99°, with 83.62% saturation and 54.51% 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.68:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 2.58.
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.2338 |
Shades
#ec2ac2 mixed progressively with black.
Tints
#ec2ac2 mixed progressively with white.
Tones
#ec2ac2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ec2ac2 {
color: #ec2ac2;
}
.bg-ec2ac2 {
background-color: #ec2ac2;
color: #000000;
}
.border-ec2ac2 {
border: 2px solid #ec2ac2;
}
:root {
--color-primary: #ec2ac2;
--color-primary-rgb: 236 42 194;
--color-primary-hsl: 313 84% 55%;
}
.gradient-ec2ac2 {
background: linear-gradient(135deg, #ec2ac2, #ec2a61);
}
.shadow-ec2ac2 {
box-shadow: 0 8px 24px rgb(236 42 194 / 0.35);
}
Shocking Pink
#ec2ac2 rgb(236, 42, 194) hsl(313, 84%, 55%) Shocking Pink
#2aec54 rgb(42, 236, 84) hsl(133, 84%, 55%) Malachite
#c2ec2a rgb(194, 236, 42) hsl(73, 84%, 55%) Electric Lime
#2ac2ec rgb(42, 194, 236) hsl(193, 84%, 55%) Deep Sky Blue