#EF42CF

#ef42cf ≈ Shocking Pink

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

#ef42cf 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 81.18% blue; printed in CMYK it uses 0% cyan, 72.38% magenta, 13.39% yellow and 6.27% black. Its hue angle is 311.1°, 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.35:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 3.96.

Description generated from the measured properties of this color.

Conversions of #ef42cf 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.2675

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

Achromatopsia #8d8d8d ≈ 0.003% of males
Achromatomaly #bc76ac ≈ 0.001% of males
Protanopia #467dd3 ≈ 1.01% of males
Deuteranopia #8297cb ≈ 1.27% of males
Tritanopia #fb4d84 ≈ 0.0001% of males
Protanomaly #a66ad1 ≈ 1.08% of males
Deuteranomaly #b87dcd ≈ 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-ef42cf {
  color: #ef42cf;
}
Background
.bg-ef42cf {
  background-color: #ef42cf;
  color: #000000;
}
Border
.border-ef42cf {
  border: 2px solid #ef42cf;
}
CSS variables
:root {
  --color-primary: #ef42cf;
  --color-primary-rgb: 239 66 207;
  --color-primary-hsl: 311 84% 60%;
}
Gradient
.gradient-ef42cf {
  background: linear-gradient(135deg, #ef42cf, #ef4278);
}
Colored shadow
.shadow-ef42cf {
  box-shadow: 0 8px 24px rgb(239 66 207 / 0.35);
}

Shocking Pink
#ef42cf  rgb(239, 66, 207)  hsl(311, 84%, 60%)  Shocking Pink
#42ef62  rgb(66, 239, 98)  hsl(131, 84%, 60%)  Spring Green
#cfef42  rgb(207, 239, 66)  hsl(71, 84%, 60%)  Pear
#42cfef  rgb(66, 207, 239)  hsl(191, 84%, 60%)  Sky Blue