#ef1fa8 ≈ Shocking Pink
#ef1fa8 is a color from the rose family, with medium lightness and vivid saturation. In the RGB model it is made of 93.73% red, 12.16% green and 65.88% blue; printed in CMYK it uses 0% cyan, 87.03% magenta, 29.71% yellow and 6.27% black. Its hue angle is 320.48°, with 86.67% saturation and 52.94% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 5.43:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 4.01.
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.2216 |
Shades
#ef1fa8 mixed progressively with black.
Tints
#ef1fa8 mixed progressively with white.
Tones
#ef1fa8 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ef1fa8 {
color: #ef1fa8;
}
.bg-ef1fa8 {
background-color: #ef1fa8;
color: #000000;
}
.border-ef1fa8 {
border: 2px solid #ef1fa8;
}
:root {
--color-primary: #ef1fa8;
--color-primary-rgb: 239 31 168;
--color-primary-hsl: 320 87% 53%;
}
.gradient-ef1fa8 {
background: linear-gradient(135deg, #ef1fa8, #ef1f40);
}
.shadow-ef1fa8 {
box-shadow: 0 8px 24px rgb(239 31 168 / 0.35);
}
Shocking Pink
#ef1fa8 rgb(239, 31, 168) hsl(320, 87%, 53%) Shocking Pink
#1fef66 rgb(31, 239, 102) hsl(140, 87%, 53%) Spring Green
#a8ef1f rgb(168, 239, 31) hsl(80, 87%, 53%) Spring Bud
#1fa8ef rgb(31, 168, 239) hsl(200, 87%, 53%) Carolina Blue