#e40fc2 ≈ Shocking Pink
#e40fc2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 89.41% red, 5.88% green and 76.08% blue; printed in CMYK it uses 0% cyan, 93.42% magenta, 14.91% yellow and 10.59% black. Its hue angle is 309.58°, with 87.65% saturation and 47.65% 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.15:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 5.09.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc00cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.2073 |
Shades
#e40fc2 mixed progressively with black.
Tints
#e40fc2 mixed progressively with white.
Tones
#e40fc2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-e40fc2 {
color: #e40fc2;
}
.bg-e40fc2 {
background-color: #e40fc2;
color: #000000;
}
.border-e40fc2 {
border: 2px solid #e40fc2;
}
:root {
--color-primary: #e40fc2;
--color-primary-rgb: 228 15 194;
--color-primary-hsl: 310 88% 48%;
}
.gradient-e40fc2 {
background: linear-gradient(135deg, #e40fc2, #e40f57);
}
.shadow-e40fc2 {
box-shadow: 0 8px 24px rgb(228 15 194 / 0.35);
}
Shocking Pink
#e40fc2 rgb(228, 15, 194) hsl(310, 88%, 48%) Shocking Pink
#0fe431 rgb(15, 228, 49) hsl(130, 88%, 48%) Malachite
#c2e40f rgb(194, 228, 15) hsl(70, 88%, 48%) Pear
#0fc2e4 rgb(15, 194, 228) hsl(190, 88%, 48%) Sky Blue