#e240a8 ≈ Shocking Pink
#e240a8 is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 88.63% red, 25.1% green and 65.88% blue; printed in CMYK it uses 0% cyan, 71.68% magenta, 25.66% yellow and 11.37% black. Its hue angle is 321.48°, with 73.64% saturation and 56.86% 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 brand accents. Black text on this color reaches a contrast ratio of 5.53:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 4.98.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc3399 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.2266 |
Shades
#e240a8 mixed progressively with black.
Tints
#e240a8 mixed progressively with white.
Tones
#e240a8 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-e240a8 {
color: #e240a8;
}
.bg-e240a8 {
background-color: #e240a8;
color: #000000;
}
.border-e240a8 {
border: 2px solid #e240a8;
}
:root {
--color-primary: #e240a8;
--color-primary-rgb: 226 64 168;
--color-primary-hsl: 321 74% 57%;
}
.gradient-e240a8 {
background: linear-gradient(135deg, #e240a8, #e24057);
}
.shadow-e240a8 {
box-shadow: 0 8px 24px rgb(226 64 168 / 0.35);
}
Shocking Pink
#e240a8 rgb(226, 64, 168) hsl(321, 74%, 57%) Shocking Pink
#40e27a rgb(64, 226, 122) hsl(141, 74%, 57%) Pastel Green
#a8e240 rgb(168, 226, 64) hsl(81, 74%, 57%) Inchworm
#40a8e2 rgb(64, 168, 226) hsl(201, 74%, 57%) Carolina Blue