#e31fa2 ≈ Shocking Pink
#e31fa2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 89.02% red, 12.16% green and 63.53% blue; printed in CMYK it uses 0% cyan, 86.34% magenta, 28.63% yellow and 10.98% black. Its hue angle is 319.9°, with 77.78% saturation and 50.59% 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 4.98:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 5.9.
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.1992 |
Shades
#e31fa2 mixed progressively with black.
Tints
#e31fa2 mixed progressively with white.
Tones
#e31fa2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-e31fa2 {
color: #e31fa2;
}
.bg-e31fa2 {
background-color: #e31fa2;
color: #000000;
}
.border-e31fa2 {
border: 2px solid #e31fa2;
}
:root {
--color-primary: #e31fa2;
--color-primary-rgb: 227 31 162;
--color-primary-hsl: 320 78% 51%;
}
.gradient-e31fa2 {
background: linear-gradient(135deg, #e31fa2, #e31f40);
}
.shadow-e31fa2 {
box-shadow: 0 8px 24px rgb(227 31 162 / 0.35);
}
Shocking Pink
#e31fa2 rgb(227, 31, 162) hsl(320, 78%, 51%) Shocking Pink
#1fe360 rgb(31, 227, 96) hsl(140, 78%, 51%) Malachite
#a2e31f rgb(162, 227, 31) hsl(80, 78%, 51%) Inchworm
#1fa2e3 rgb(31, 162, 227) hsl(200, 78%, 51%) Carolina Blue