#ef42cf ≈ Shocking Pink
#ef42cf 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.88% green and 81.18% blue; printed in CMYK it uses 0% cyan, 72.38% magenta, 13.39% yellow and 6.27% black. Its hue angle is 311.1°, with 84.39% saturation and 59.8% 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 3.96.
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.2675 |
Shades
#ef42cf mixed progressively with black.
Tints
#ef42cf mixed progressively with white.
Tones
#ef42cf mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ef42cf {
color: #ef42cf;
}
.bg-ef42cf {
background-color: #ef42cf;
color: #000000;
}
.border-ef42cf {
border: 2px solid #ef42cf;
}
:root {
--color-primary: #ef42cf;
--color-primary-rgb: 239 66 207;
--color-primary-hsl: 311 84% 60%;
}
.gradient-ef42cf {
background: linear-gradient(135deg, #ef42cf, #ef4278);
}
.shadow-ef42cf {
box-shadow: 0 8px 24px rgb(239 66 207 / 0.35);
}
Shocking Pink
#ef42cf rgb(239, 66, 207) hsl(311, 84%, 60%) Shocking Pink
#42ef62 rgb(66, 239, 98) hsl(131, 84%, 60%) Spring Green
#cfef42 rgb(207, 239, 66) hsl(71, 84%, 60%) Pear
#42cfef rgb(66, 207, 239) hsl(191, 84%, 60%) Sky Blue