#e31fc2 ≈ Shocking Pink
#e31fc2 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 76.08% blue; printed in CMYK it uses 0% cyan, 86.34% magenta, 14.54% yellow and 10.98% black. Its hue angle is 310.1°, 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 5.24:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 4.77.
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.2121 |
Shades
#e31fc2 mixed progressively with black.
Tints
#e31fc2 mixed progressively with white.
Tones
#e31fc2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-e31fc2 {
color: #e31fc2;
}
.bg-e31fc2 {
background-color: #e31fc2;
color: #000000;
}
.border-e31fc2 {
border: 2px solid #e31fc2;
}
:root {
--color-primary: #e31fc2;
--color-primary-rgb: 227 31 194;
--color-primary-hsl: 310 78% 51%;
}
.gradient-e31fc2 {
background: linear-gradient(135deg, #e31fc2, #e31f60);
}
.shadow-e31fc2 {
box-shadow: 0 8px 24px rgb(227 31 194 / 0.35);
}
Shocking Pink
#e31fc2 rgb(227, 31, 194) hsl(310, 78%, 51%) Shocking Pink
#1fe340 rgb(31, 227, 64) hsl(130, 78%, 51%) Malachite
#c2e31f rgb(194, 227, 31) hsl(70, 78%, 51%) Pear
#1fc2e3 rgb(31, 194, 227) hsl(190, 78%, 51%) Sky Blue