#ec22cb ≈ Shocking Pink
#ec22cb is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 92.55% red, 13.33% green and 79.61% blue; printed in CMYK it uses 0% cyan, 85.59% magenta, 13.98% yellow and 7.45% black. Its hue angle is 309.8°, with 84.17% saturation and 52.94% 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.66:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 3.61.
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.2329 |
Shades
#ec22cb mixed progressively with black.
Tints
#ec22cb mixed progressively with white.
Tones
#ec22cb mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ec22cb {
color: #ec22cb;
}
.bg-ec22cb {
background-color: #ec22cb;
color: #000000;
}
.border-ec22cb {
border: 2px solid #ec22cb;
}
:root {
--color-primary: #ec22cb;
--color-primary-rgb: 236 34 203;
--color-primary-hsl: 310 84% 53%;
}
.gradient-ec22cb {
background: linear-gradient(135deg, #ec22cb, #ec2266);
}
.shadow-ec22cb {
box-shadow: 0 8px 24px rgb(236 34 203 / 0.35);
}
Shocking Pink
#ec22cb rgb(236, 34, 203) hsl(310, 84%, 53%) Shocking Pink
#22ec43 rgb(34, 236, 67) hsl(130, 84%, 53%) Malachite
#cbec22 rgb(203, 236, 34) hsl(70, 84%, 53%) Pear
#22cbec rgb(34, 203, 236) hsl(190, 84%, 53%) Sky Blue