#e40cc2 ≈ Shocking Pink
#e40cc2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 89.41% red, 4.71% green and 76.08% blue; printed in CMYK it uses 0% cyan, 94.74% magenta, 14.91% yellow and 10.59% black. Its hue angle is 309.44°, with 90% saturation and 47.06% 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.13:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 5.16.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc00cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.2065 |
Shades
#e40cc2 mixed progressively with black.
Tints
#e40cc2 mixed progressively with white.
Tones
#e40cc2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-e40cc2 {
color: #e40cc2;
}
.bg-e40cc2 {
background-color: #e40cc2;
color: #000000;
}
.border-e40cc2 {
border: 2px solid #e40cc2;
}
:root {
--color-primary: #e40cc2;
--color-primary-rgb: 228 12 194;
--color-primary-hsl: 309 90% 47%;
}
.gradient-e40cc2 {
background: linear-gradient(135deg, #e40cc2, #e40c56);
}
.shadow-e40cc2 {
box-shadow: 0 8px 24px rgb(228 12 194 / 0.35);
}
Shocking Pink
#e40cc2 rgb(228, 12, 194) hsl(309, 90%, 47%) Shocking Pink
#0ce42e rgb(12, 228, 46) hsl(129, 90%, 47%) Malachite
#c2e40c rgb(194, 228, 12) hsl(69, 90%, 47%) Pear
#0cc2e4 rgb(12, 194, 228) hsl(189, 90%, 47%) Sky Blue