#ef04c2 ≈ Shocking Pink
#ef04c2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 93.73% red, 1.57% green and 76.08% blue; printed in CMYK it uses 0% cyan, 98.33% magenta, 18.83% yellow and 6.27% black. Its hue angle is 311.49°, with 96.71% saturation and 47.65% 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 5.47:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 3.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ff00cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.2233 |
Shades
#ef04c2 mixed progressively with black.
Tints
#ef04c2 mixed progressively with white.
Tones
#ef04c2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ef04c2 {
color: #ef04c2;
}
.bg-ef04c2 {
background-color: #ef04c2;
color: #000000;
}
.border-ef04c2 {
border: 2px solid #ef04c2;
}
:root {
--color-primary: #ef04c2;
--color-primary-rgb: 239 4 194;
--color-primary-hsl: 311 97% 48%;
}
.gradient-ef04c2 {
background: linear-gradient(135deg, #ef04c2, #ef044d);
}
.shadow-ef04c2 {
box-shadow: 0 8px 24px rgb(239 4 194 / 0.35);
}
Shocking Pink
#ef04c2 rgb(239, 4, 194) hsl(311, 97%, 48%) Shocking Pink
#04ef31 rgb(4, 239, 49) hsl(131, 97%, 48%) Lime
#c2ef04 rgb(194, 239, 4) hsl(71, 97%, 48%) Electric Lime
#04c2ef rgb(4, 194, 239) hsl(191, 97%, 48%) Deep Sky Blue