#ec0acc ≈ Shocking Pink
#ec0acc is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 92.55% red, 3.92% green and 80% blue; printed in CMYK it uses 0% cyan, 95.76% magenta, 13.56% yellow and 7.45% black. Its hue angle is 308.5°, with 91.87% saturation and 48.24% 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.48:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 4.25.
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.2241 |
Shades
#ec0acc mixed progressively with black.
Tints
#ec0acc mixed progressively with white.
Tones
#ec0acc mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ec0acc {
color: #ec0acc;
}
.bg-ec0acc {
background-color: #ec0acc;
color: #000000;
}
.border-ec0acc {
border: 2px solid #ec0acc;
}
:root {
--color-primary: #ec0acc;
--color-primary-rgb: 236 10 204;
--color-primary-hsl: 309 92% 48%;
}
.gradient-ec0acc {
background: linear-gradient(135deg, #ec0acc, #ec0a5b);
}
.shadow-ec0acc {
box-shadow: 0 8px 24px rgb(236 10 204 / 0.35);
}
Shocking Pink
#ec0acc rgb(236, 10, 204) hsl(309, 92%, 48%) Shocking Pink
#0aec2a rgb(10, 236, 42) hsl(129, 92%, 48%) Lime
#ccec0a rgb(204, 236, 10) hsl(69, 92%, 48%) Pear
#0accec rgb(10, 204, 236) hsl(189, 92%, 48%) Sky Blue