#e040cd ≈ Shocking Pink
#e040cd is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 87.84% red, 25.1% green and 80.39% blue; printed in CMYK it uses 0% cyan, 71.43% magenta, 8.48% yellow and 12.16% black. Its hue angle is 307.13°, with 72.07% saturation and 56.47% 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 brand accents. Black text on this color reaches a contrast ratio of 5.78:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 5.23.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc33cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.2392 |
Shades
#e040cd mixed progressively with black.
Tints
#e040cd mixed progressively with white.
Tones
#e040cd mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-e040cd {
color: #e040cd;
}
.bg-e040cd {
background-color: #e040cd;
color: #000000;
}
.border-e040cd {
border: 2px solid #e040cd;
}
:root {
--color-primary: #e040cd;
--color-primary-rgb: 224 64 205;
--color-primary-hsl: 307 72% 56%;
}
.gradient-e040cd {
background: linear-gradient(135deg, #e040cd, #e0407d);
}
.shadow-e040cd {
box-shadow: 0 8px 24px rgb(224 64 205 / 0.35);
}
Shocking Pink
#e040cd rgb(224, 64, 205) hsl(307, 72%, 56%) Shocking Pink
#40e053 rgb(64, 224, 83) hsl(127, 72%, 56%) Malachite
#cde040 rgb(205, 224, 64) hsl(67, 72%, 56%) Pear
#40cde0 rgb(64, 205, 224) hsl(187, 72%, 56%) Dark Turquoise