#EA31CF

#ea31cf ≈ Shocking Pink

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

#ea31cf is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 91.76% red, 19.22% green and 81.18% blue; printed in CMYK it uses 0% cyan, 79.06% magenta, 11.54% yellow and 8.24% black. Its hue angle is 308.76°, with 81.5% saturation and 55.49% 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 5.84:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 4.09.

Description generated from the measured properties of this color.

Conversions of #ea31cf 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.2419

Readable text 3.6:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.84:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #878787 ≈ 0.003% of males
Achromatomaly #b76fa9 ≈ 0.001% of males
Protanopia #3076d3 ≈ 1.01% of males
Deuteranopia #7890cb ≈ 1.27% of males
Tritanopia #f64380 ≈ 0.0001% of males
Protanomaly #9f61d1 ≈ 1.08% of males
Deuteranomaly #b176cd ≈ 4.63% of males
Tritanomaly #f13da5 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ea31cf {
  color: #ea31cf;
}
Background
.bg-ea31cf {
  background-color: #ea31cf;
  color: #000000;
}
Border
.border-ea31cf {
  border: 2px solid #ea31cf;
}
CSS variables
:root {
  --color-primary: #ea31cf;
  --color-primary-rgb: 234 49 207;
  --color-primary-hsl: 309 82% 55%;
}
Gradient
.gradient-ea31cf {
  background: linear-gradient(135deg, #ea31cf, #ea3172);
}
Colored shadow
.shadow-ea31cf {
  box-shadow: 0 8px 24px rgb(234 49 207 / 0.35);
}

Shocking Pink
#ea31cf  rgb(234, 49, 207)  hsl(309, 82%, 55%)  Shocking Pink
#31ea4c  rgb(49, 234, 76)  hsl(129, 82%, 55%)  Malachite
#cfea31  rgb(207, 234, 49)  hsl(69, 82%, 55%)  Pear
#31cfea  rgb(49, 207, 234)  hsl(189, 82%, 55%)  Sky Blue