#ef40d3 ≈ Shocking Pink
#ef40d3 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 82.75% blue; printed in CMYK it uses 0% cyan, 73.22% magenta, 11.72% yellow and 6.27% black. Its hue angle is 309.6°, 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.34:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 4.33.
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.2672 |
Shades
#ef40d3 mixed progressively with black.
Tints
#ef40d3 mixed progressively with white.
Tones
#ef40d3 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ef40d3 {
color: #ef40d3;
}
.bg-ef40d3 {
background-color: #ef40d3;
color: #000000;
}
.border-ef40d3 {
border: 2px solid #ef40d3;
}
:root {
--color-primary: #ef40d3;
--color-primary-rgb: 239 64 211;
--color-primary-hsl: 310 85% 59%;
}
.gradient-ef40d3 {
background: linear-gradient(135deg, #ef40d3, #ef407b);
}
.shadow-ef40d3 {
box-shadow: 0 8px 24px rgb(239 64 211 / 0.35);
}
Shocking Pink
#ef40d3 rgb(239, 64, 211) hsl(310, 85%, 59%) Shocking Pink
#40ef5c rgb(64, 239, 92) hsl(130, 85%, 59%) Spring Green
#d3ef40 rgb(211, 239, 64) hsl(70, 85%, 59%) Pear
#40d3ef rgb(64, 211, 239) hsl(190, 85%, 59%) Sky Blue