#ec51cd ≈ Shocking Pink
#ec51cd is a color from the magenta family, with high lightness and strong saturation. In the RGB model it is made of 92.55% red, 31.76% green and 80.39% blue; printed in CMYK it uses 0% cyan, 65.68% magenta, 13.14% yellow and 7.45% black. Its hue angle is 312°, with 80.31% saturation and 62.16% 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 6.63:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 5.12.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ff66cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.2813 |
Shades
#ec51cd mixed progressively with black.
Tints
#ec51cd mixed progressively with white.
Tones
#ec51cd mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ec51cd {
color: #ec51cd;
}
.bg-ec51cd {
background-color: #ec51cd;
color: #000000;
}
.border-ec51cd {
border: 2px solid #ec51cd;
}
:root {
--color-primary: #ec51cd;
--color-primary-rgb: 236 81 205;
--color-primary-hsl: 312 80% 62%;
}
.gradient-ec51cd {
background: linear-gradient(135deg, #ec51cd, #ec5180);
}
.shadow-ec51cd {
box-shadow: 0 8px 24px rgb(236 81 205 / 0.35);
}
Shocking Pink
#ec51cd rgb(236, 81, 205) hsl(312, 80%, 62%) Shocking Pink
#51ec70 rgb(81, 236, 112) hsl(132, 80%, 62%) Spring Green
#cdec51 rgb(205, 236, 81) hsl(72, 80%, 62%) Pear
#51cdec rgb(81, 205, 236) hsl(192, 80%, 62%) Sky Blue