#e540cd ≈ Shocking Pink
#e540cd is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 89.8% red, 25.1% green and 80.39% blue; printed in CMYK it uses 0% cyan, 72.05% magenta, 10.48% yellow and 10.2% black. Its hue angle is 308.73°, with 76.04% saturation and 57.45% 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 brand accents. Black text on this color reaches a contrast ratio of 5.95:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 4.55.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc33cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.2473 |
Shades
#e540cd mixed progressively with black.
Tints
#e540cd mixed progressively with white.
Tones
#e540cd mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-e540cd {
color: #e540cd;
}
.bg-e540cd {
background-color: #e540cd;
color: #000000;
}
.border-e540cd {
border: 2px solid #e540cd;
}
:root {
--color-primary: #e540cd;
--color-primary-rgb: 229 64 205;
--color-primary-hsl: 309 76% 57%;
}
.gradient-e540cd {
background: linear-gradient(135deg, #e540cd, #e5407a);
}
.shadow-e540cd {
box-shadow: 0 8px 24px rgb(229 64 205 / 0.35);
}
Shocking Pink
#e540cd rgb(229, 64, 205) hsl(309, 76%, 57%) Shocking Pink
#40e558 rgb(64, 229, 88) hsl(129, 76%, 57%) Malachite
#cde540 rgb(205, 229, 64) hsl(69, 76%, 57%) Pear
#40cde5 rgb(64, 205, 229) hsl(189, 76%, 57%) Sky Blue