#ef40d4 ≈ Shocking Pink
#ef40d4 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 93.73% red, 25.1% green and 83.14% blue; printed in CMYK it uses 0% cyan, 73.22% magenta, 11.3% yellow and 6.27% black. Its hue angle is 309.26°, with 84.54% saturation and 59.41% 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.35:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 4.45.
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.2677 |
Shades
#ef40d4 mixed progressively with black.
Tints
#ef40d4 mixed progressively with white.
Tones
#ef40d4 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ef40d4 {
color: #ef40d4;
}
.bg-ef40d4 {
background-color: #ef40d4;
color: #000000;
}
.border-ef40d4 {
border: 2px solid #ef40d4;
}
:root {
--color-primary: #ef40d4;
--color-primary-rgb: 239 64 212;
--color-primary-hsl: 309 85% 59%;
}
.gradient-ef40d4 {
background: linear-gradient(135deg, #ef40d4, #ef407c);
}
.shadow-ef40d4 {
box-shadow: 0 8px 24px rgb(239 64 212 / 0.35);
}
Shocking Pink
#ef40d4 rgb(239, 64, 212) hsl(309, 85%, 59%) Shocking Pink
#40ef5b rgb(64, 239, 91) hsl(129, 85%, 59%) Spring Green
#d4ef40 rgb(212, 239, 64) hsl(69, 85%, 59%) Pear
#40d4ef rgb(64, 212, 239) hsl(189, 85%, 59%) Sky Blue