#EC2CD2

#ec2cd2 ≈ Shocking Pink

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

#ec2cd2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 92.55% red, 17.25% green and 82.35% blue; printed in CMYK it uses 0% cyan, 81.36% magenta, 11.02% yellow and 7.45% black. Its hue angle is 308.13°, with 83.48% saturation and 54.9% 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.86:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 4.24.

Description generated from the measured properties of this color.

Conversions of #ec2cd2 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.2429

Readable text 3.59:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.86:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #878787 ≈ 0.003% of males
Achromatomaly #b86eaa ≈ 0.001% of males
Protanopia #2976d6 ≈ 1.01% of males
Deuteranopia #7791ce ≈ 1.27% of males
Tritanopia #f84180 ≈ 0.0001% of males
Protanomaly #9f60d5 ≈ 1.08% of males
Deuteranomaly #b276cf ≈ 4.63% of males
Tritanomaly #f33aa7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ec2cd2 {
  color: #ec2cd2;
}
Background
.bg-ec2cd2 {
  background-color: #ec2cd2;
  color: #000000;
}
Border
.border-ec2cd2 {
  border: 2px solid #ec2cd2;
}
CSS variables
:root {
  --color-primary: #ec2cd2;
  --color-primary-rgb: 236 44 210;
  --color-primary-hsl: 308 83% 55%;
}
Gradient
.gradient-ec2cd2 {
  background: linear-gradient(135deg, #ec2cd2, #ec2c72);
}
Colored shadow
.shadow-ec2cd2 {
  box-shadow: 0 8px 24px rgb(236 44 210 / 0.35);
}

Shocking Pink
#ec2cd2  rgb(236, 44, 210)  hsl(308, 83%, 55%)  Shocking Pink
#2cec46  rgb(44, 236, 70)  hsl(128, 83%, 55%)  Malachite
#d2ec2c  rgb(210, 236, 44)  hsl(68, 83%, 55%)  Pear
#2cd2ec  rgb(44, 210, 236)  hsl(188, 83%, 55%)  Dark Turquoise