#E40CC2

#e40cc2 ≈ Shocking Pink

  • magenta
  • Lightness: medium
  • Saturation: vivid
  • Balanced

#e40cc2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 89.41% red, 4.71% green and 76.08% blue; printed in CMYK it uses 0% cyan, 94.74% magenta, 14.91% yellow and 10.59% black. Its hue angle is 309.44°, with 90% saturation and 47.06% 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.13:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 5.16.

Description generated from the measured properties of this color.

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

Readable text 4.09:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.13:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7d7d7d ≈ 0.003% of males
Achromatomaly #b0639e ≈ 0.001% of males
Protanopia #1c6ac6 ≈ 1.01% of males
Deuteranopia #7188be ≈ 1.27% of males
Tritanopia #f12973 ≈ 0.0001% of males
Protanomaly #9954c4 ≈ 1.08% of males
Deuteranomaly #ab6cbf ≈ 4.63% of males
Tritanomaly #ec2099 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-e40cc2 {
  color: #e40cc2;
}
Background
.bg-e40cc2 {
  background-color: #e40cc2;
  color: #000000;
}
Border
.border-e40cc2 {
  border: 2px solid #e40cc2;
}
CSS variables
:root {
  --color-primary: #e40cc2;
  --color-primary-rgb: 228 12 194;
  --color-primary-hsl: 309 90% 47%;
}
Gradient
.gradient-e40cc2 {
  background: linear-gradient(135deg, #e40cc2, #e40c56);
}
Colored shadow
.shadow-e40cc2 {
  box-shadow: 0 8px 24px rgb(228 12 194 / 0.35);
}

Shocking Pink
#e40cc2  rgb(228, 12, 194)  hsl(309, 90%, 47%)  Shocking Pink
#0ce42e  rgb(12, 228, 46)  hsl(129, 90%, 47%)  Malachite
#c2e40c  rgb(194, 228, 12)  hsl(69, 90%, 47%)  Pear
#0cc2e4  rgb(12, 194, 228)  hsl(189, 90%, 47%)  Sky Blue