#ea21cb ≈ Shocking Pink
#ea21cb is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 91.76% red, 12.94% green and 79.61% blue; printed in CMYK it uses 0% cyan, 85.9% magenta, 13.25% yellow and 8.24% black. Its hue angle is 309.25°, with 82.72% saturation and 52.35% 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.58:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 3.99.
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.2289 |
Shades
#ea21cb mixed progressively with black.
Tints
#ea21cb mixed progressively with white.
Tones
#ea21cb mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ea21cb {
color: #ea21cb;
}
.bg-ea21cb {
background-color: #ea21cb;
color: #000000;
}
.border-ea21cb {
border: 2px solid #ea21cb;
}
:root {
--color-primary: #ea21cb;
--color-primary-rgb: 234 33 203;
--color-primary-hsl: 309 83% 52%;
}
.gradient-ea21cb {
background: linear-gradient(135deg, #ea21cb, #ea2167);
}
.shadow-ea21cb {
box-shadow: 0 8px 24px rgb(234 33 203 / 0.35);
}
Shocking Pink
#ea21cb rgb(234, 33, 203) hsl(309, 83%, 52%) Shocking Pink
#21ea40 rgb(33, 234, 64) hsl(129, 83%, 52%) Malachite
#cbea21 rgb(203, 234, 33) hsl(69, 83%, 52%) Pear
#21cbea rgb(33, 203, 234) hsl(189, 83%, 52%) Sky Blue