#ea1fa7 ≈ Shocking Pink
#ea1fa7 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 91.76% red, 12.16% green and 65.49% blue; printed in CMYK it uses 0% cyan, 86.75% magenta, 28.63% yellow and 8.24% black. Its hue angle is 319.8°, with 82.86% saturation and 51.96% 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.25:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 4.52.
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.2126 |
Shades
#ea1fa7 mixed progressively with black.
Tints
#ea1fa7 mixed progressively with white.
Tones
#ea1fa7 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ea1fa7 {
color: #ea1fa7;
}
.bg-ea1fa7 {
background-color: #ea1fa7;
color: #000000;
}
.border-ea1fa7 {
border: 2px solid #ea1fa7;
}
:root {
--color-primary: #ea1fa7;
--color-primary-rgb: 234 31 167;
--color-primary-hsl: 320 83% 52%;
}
.gradient-ea1fa7 {
background: linear-gradient(135deg, #ea1fa7, #ea1f42);
}
.shadow-ea1fa7 {
box-shadow: 0 8px 24px rgb(234 31 167 / 0.35);
}
Shocking Pink
#ea1fa7 rgb(234, 31, 167) hsl(320, 83%, 52%) Shocking Pink
#1fea62 rgb(31, 234, 98) hsl(140, 83%, 52%) Malachite
#a7ea1f rgb(167, 234, 31) hsl(80, 83%, 52%) Spring Bud
#1fa7ea rgb(31, 167, 234) hsl(200, 83%, 52%) Carolina Blue