#ec2aaa ≈ Shocking Pink
#ec2aaa is a color from the rose family, with medium lightness and vivid saturation. In the RGB model it is made of 92.55% red, 16.47% green and 66.67% blue; printed in CMYK it uses 0% cyan, 82.2% magenta, 27.97% yellow and 7.45% black. Its hue angle is 320.41°, with 83.62% saturation and 54.51% lightness in HSL. It sits between warm and cool, and is often associated with romance, playfulness and affection. Designers typically use it for food and restaurant brands, sales and promotions and call-to-action buttons. Black text on this color reaches a contrast ratio of 5.48:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 3.82.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ff3399 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.2239 |
Shades
#ec2aaa mixed progressively with black.
Tints
#ec2aaa mixed progressively with white.
Tones
#ec2aaa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ec2aaa {
color: #ec2aaa;
}
.bg-ec2aaa {
background-color: #ec2aaa;
color: #000000;
}
.border-ec2aaa {
border: 2px solid #ec2aaa;
}
:root {
--color-primary: #ec2aaa;
--color-primary-rgb: 236 42 170;
--color-primary-hsl: 320 84% 55%;
}
.gradient-ec2aaa {
background: linear-gradient(135deg, #ec2aaa, #ec2a49);
}
.shadow-ec2aaa {
box-shadow: 0 8px 24px rgb(236 42 170 / 0.35);
}
Shocking Pink
#ec2aaa rgb(236, 42, 170) hsl(320, 84%, 55%) Shocking Pink
#2aec6c rgb(42, 236, 108) hsl(140, 84%, 55%) Spring Green
#aaec2a rgb(170, 236, 42) hsl(80, 84%, 55%) Spring Bud
#2aaaec rgb(42, 170, 236) hsl(200, 84%, 55%) Carolina Blue