#EF1FA8

#ef1fa8 ≈ Shocking Pink

  • rose
  • Lightness: medium
  • Saturation: vivid
  • Balanced

#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.

Conversions of #ef1fa8 into other color spaces
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 luminance0.2216

Readable text 3.87:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.43:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #828282 ≈ 0.003% of males
Achromatomaly #b86892 ≈ 0.001% of males
Protanopia #486bab ≈ 1.01% of males
Deuteranopia #868ea4 ≈ 1.27% of males
Tritanopia #ff0966 ≈ 0.0001% of males
Protanomaly #a757aa ≈ 1.08% of males
Deuteranomaly #ba72a5 ≈ 4.63% of males
Tritanomaly #fa1485 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ef1fa8 {
  color: #ef1fa8;
}
Background
.bg-ef1fa8 {
  background-color: #ef1fa8;
  color: #000000;
}
Border
.border-ef1fa8 {
  border: 2px solid #ef1fa8;
}
CSS variables
:root {
  --color-primary: #ef1fa8;
  --color-primary-rgb: 239 31 168;
  --color-primary-hsl: 320 87% 53%;
}
Gradient
.gradient-ef1fa8 {
  background: linear-gradient(135deg, #ef1fa8, #ef1f40);
}
Colored shadow
.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