#ea40cf ≈ Shocking Pink
#ea40cf is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 91.76% red, 25.1% green and 81.18% blue; printed in CMYK it uses 0% cyan, 72.65% magenta, 11.54% yellow and 8.24% black. Its hue angle is 309.53°, with 80.19% saturation and 58.43% 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 6.13:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 4.22.
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.2566 |
Shades
#ea40cf mixed progressively with black.
Tints
#ea40cf mixed progressively with white.
Tones
#ea40cf mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ea40cf {
color: #ea40cf;
}
.bg-ea40cf {
background-color: #ea40cf;
color: #000000;
}
.border-ea40cf {
border: 2px solid #ea40cf;
}
:root {
--color-primary: #ea40cf;
--color-primary-rgb: 234 64 207;
--color-primary-hsl: 310 80% 58%;
}
.gradient-ea40cf {
background: linear-gradient(135deg, #ea40cf, #ea407a);
}
.shadow-ea40cf {
box-shadow: 0 8px 24px rgb(234 64 207 / 0.35);
}
Shocking Pink
#ea40cf rgb(234, 64, 207) hsl(310, 80%, 58%) Shocking Pink
#40ea5b rgb(64, 234, 91) hsl(130, 80%, 58%) Malachite
#cfea40 rgb(207, 234, 64) hsl(70, 80%, 58%) Pear
#40cfea rgb(64, 207, 234) hsl(190, 80%, 58%) Sky Blue