#ec2faf ≈ Shocking Pink
#ec2faf is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 92.55% red, 18.43% green and 68.63% blue; printed in CMYK it uses 0% cyan, 80.08% magenta, 25.85% yellow and 7.45% black. Its hue angle is 319.37°, with 83.26% saturation and 55.49% 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.59:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 3.15.
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.2296 |
Shades
#ec2faf mixed progressively with black.
Tints
#ec2faf mixed progressively with white.
Tones
#ec2faf mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ec2faf {
color: #ec2faf;
}
.bg-ec2faf {
background-color: #ec2faf;
color: #000000;
}
.border-ec2faf {
border: 2px solid #ec2faf;
}
:root {
--color-primary: #ec2faf;
--color-primary-rgb: 236 47 175;
--color-primary-hsl: 319 83% 55%;
}
.gradient-ec2faf {
background: linear-gradient(135deg, #ec2faf, #ec2f50);
}
.shadow-ec2faf {
box-shadow: 0 8px 24px rgb(236 47 175 / 0.35);
}
Shocking Pink
#ec2faf rgb(236, 47, 175) hsl(319, 83%, 55%) Shocking Pink
#2fec6c rgb(47, 236, 108) hsl(139, 83%, 55%) Spring Green
#afec2f rgb(175, 236, 47) hsl(79, 83%, 55%) Inchworm
#2fafec rgb(47, 175, 236) hsl(199, 83%, 55%) Deep Sky Blue