#ec28bc ≈ Shocking Pink
#ec28bc is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 92.55% red, 15.69% green and 73.73% blue; printed in CMYK it uses 0% cyan, 83.05% magenta, 20.34% yellow and 7.45% black. Its hue angle is 314.69°, with 83.76% saturation and 54.12% 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.6:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 2.4.
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.2298 |
Shades
#ec28bc mixed progressively with black.
Tints
#ec28bc mixed progressively with white.
Tones
#ec28bc mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ec28bc {
color: #ec28bc;
}
.bg-ec28bc {
background-color: #ec28bc;
color: #000000;
}
.border-ec28bc {
border: 2px solid #ec28bc;
}
:root {
--color-primary: #ec28bc;
--color-primary-rgb: 236 40 188;
--color-primary-hsl: 315 84% 54%;
}
.gradient-ec28bc {
background: linear-gradient(135deg, #ec28bc, #ec285a);
}
.shadow-ec28bc {
box-shadow: 0 8px 24px rgb(236 40 188 / 0.35);
}
Shocking Pink
#ec28bc rgb(236, 40, 188) hsl(315, 84%, 54%) Shocking Pink
#28ec58 rgb(40, 236, 88) hsl(135, 84%, 54%) Malachite
#bcec28 rgb(188, 236, 40) hsl(75, 84%, 54%) Electric Lime
#28bcec rgb(40, 188, 236) hsl(195, 84%, 54%) Deep Sky Blue