#ec0ab2 ≈ Shocking Pink
#ec0ab2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 92.55% red, 3.92% green and 69.8% blue; printed in CMYK it uses 0% cyan, 95.76% magenta, 24.58% yellow and 7.45% black. Its hue angle is 315.4°, with 91.87% saturation and 48.24% 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.25: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 | #ff0099 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.2126 |
Shades
#ec0ab2 mixed progressively with black.
Tints
#ec0ab2 mixed progressively with white.
Tones
#ec0ab2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ec0ab2 {
color: #ec0ab2;
}
.bg-ec0ab2 {
background-color: #ec0ab2;
color: #000000;
}
.border-ec0ab2 {
border: 2px solid #ec0ab2;
}
:root {
--color-primary: #ec0ab2;
--color-primary-rgb: 236 10 178;
--color-primary-hsl: 315 92% 48%;
}
.gradient-ec0ab2 {
background: linear-gradient(135deg, #ec0ab2, #ec0a41);
}
.shadow-ec0ab2 {
box-shadow: 0 8px 24px rgb(236 10 178 / 0.35);
}
Shocking Pink
#ec0ab2 rgb(236, 10, 178) hsl(315, 92%, 48%) Shocking Pink
#0aec44 rgb(10, 236, 68) hsl(135, 92%, 48%) Malachite
#b2ec0a rgb(178, 236, 10) hsl(75, 92%, 48%) Spring Bud
#0ab2ec rgb(10, 178, 236) hsl(195, 92%, 48%) Deep Sky Blue