#ef02b2 ≈ Shocking Pink
#ef02b2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 93.73% red, 0.78% green and 69.8% blue; printed in CMYK it uses 0% cyan, 99.16% magenta, 25.52% yellow and 6.27% black. Its hue angle is 315.44°, with 98.34% saturation and 47.25% 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.32:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 3.26.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ff0099 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.2161 |
Shades
#ef02b2 mixed progressively with black.
Tints
#ef02b2 mixed progressively with white.
Tones
#ef02b2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ef02b2 {
color: #ef02b2;
}
.bg-ef02b2 {
background-color: #ef02b2;
color: #000000;
}
.border-ef02b2 {
border: 2px solid #ef02b2;
}
:root {
--color-primary: #ef02b2;
--color-primary-rgb: 239 2 178;
--color-primary-hsl: 315 98% 47%;
}
.gradient-ef02b2 {
background: linear-gradient(135deg, #ef02b2, #ef023c);
}
.shadow-ef02b2 {
box-shadow: 0 8px 24px rgb(239 2 178 / 0.35);
}
Shocking Pink
#ef02b2 rgb(239, 2, 178) hsl(315, 98%, 47%) Shocking Pink
#02ef3f rgb(2, 239, 63) hsl(135, 98%, 47%) Lime
#b2ef02 rgb(178, 239, 2) hsl(75, 98%, 47%) Spring Bud
#02b2ef rgb(2, 178, 239) hsl(195, 98%, 47%) Deep Sky Blue