#EC2AC2

#ec2ac2 ≈ Shocking Pink

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

#ec2ac2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 92.55% red, 16.47% green and 76.08% blue; printed in CMYK it uses 0% cyan, 82.2% magenta, 17.8% yellow and 7.45% black. Its hue angle is 312.99°, with 83.62% saturation and 54.51% 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.68:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 2.58.

Description generated from the measured properties of this color.

Conversions of #ec2ac2 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.2338

Readable text 3.7:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.68:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #858585 ≈ 0.003% of males
Achromatomaly #b76ca1 ≈ 0.001% of males
Protanopia #3972c6 ≈ 1.01% of males
Deuteranopia #7d8fbe ≈ 1.27% of males
Tritanopia #fa3577 ≈ 0.0001% of males
Protanomaly #a25dc4 ≈ 1.08% of males
Deuteranomaly #b474c0 ≈ 4.63% of males
Tritanomaly #f4319b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ec2ac2 {
  color: #ec2ac2;
}
Background
.bg-ec2ac2 {
  background-color: #ec2ac2;
  color: #000000;
}
Border
.border-ec2ac2 {
  border: 2px solid #ec2ac2;
}
CSS variables
:root {
  --color-primary: #ec2ac2;
  --color-primary-rgb: 236 42 194;
  --color-primary-hsl: 313 84% 55%;
}
Gradient
.gradient-ec2ac2 {
  background: linear-gradient(135deg, #ec2ac2, #ec2a61);
}
Colored shadow
.shadow-ec2ac2 {
  box-shadow: 0 8px 24px rgb(236 42 194 / 0.35);
}

Shocking Pink
#ec2ac2  rgb(236, 42, 194)  hsl(313, 84%, 55%)  Shocking Pink
#2aec54  rgb(42, 236, 84)  hsl(133, 84%, 55%)  Malachite
#c2ec2a  rgb(194, 236, 42)  hsl(73, 84%, 55%)  Electric Lime
#2ac2ec  rgb(42, 194, 236)  hsl(193, 84%, 55%)  Deep Sky Blue