#EF42CE

#ef42ce ≈ Shocking Pink

  • magenta
  • Lightness: medium
  • Saturation: strong
  • Balanced

#ef42ce is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 93.73% red, 25.88% green and 80.78% blue; printed in CMYK it uses 0% cyan, 72.38% magenta, 13.81% yellow and 6.27% black. Its hue angle is 311.45°, with 84.39% saturation and 59.8% 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 6.34:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 3.85.

Description generated from the measured properties of this color.

Conversions of #ef42ce into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#ff33cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.267

Readable text 3.31:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.34:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #8d8d8d ≈ 0.003% of males
Achromatomaly #bc76ab ≈ 0.001% of males
Protanopia #477cd2 ≈ 1.01% of males
Deuteranopia #8297ca ≈ 1.27% of males
Tritanopia #fc4d84 ≈ 0.0001% of males
Protanomaly #a66ad0 ≈ 1.08% of males
Deuteranomaly #b87dcc ≈ 4.63% of males
Tritanomaly #f749a7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ef42ce {
  color: #ef42ce;
}
Background
.bg-ef42ce {
  background-color: #ef42ce;
  color: #000000;
}
Border
.border-ef42ce {
  border: 2px solid #ef42ce;
}
CSS variables
:root {
  --color-primary: #ef42ce;
  --color-primary-rgb: 239 66 206;
  --color-primary-hsl: 311 84% 60%;
}
Gradient
.gradient-ef42ce {
  background: linear-gradient(135deg, #ef42ce, #ef4277);
}
Colored shadow
.shadow-ef42ce {
  box-shadow: 0 8px 24px rgb(239 66 206 / 0.35);
}

Shocking Pink
#ef42ce  rgb(239, 66, 206)  hsl(311, 84%, 60%)  Shocking Pink
#42ef63  rgb(66, 239, 99)  hsl(131, 84%, 60%)  Spring Green
#ceef42  rgb(206, 239, 66)  hsl(71, 84%, 60%)  Pear
#42ceef  rgb(66, 206, 239)  hsl(191, 84%, 60%)  Sky Blue