#EC2DD5

#ec2dd5 ≈ Shocking Pink

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

#ec2dd5 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 92.55% red, 17.65% green and 83.53% blue; printed in CMYK it uses 0% cyan, 80.93% magenta, 9.75% yellow and 7.45% black. Its hue angle is 307.23°, with 83.41% saturation and 55.1% 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.9:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 4.61.

Description generated from the measured properties of this color.

Conversions of #ec2dd5 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.2451

Readable text 3.56:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.9:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #888888 ≈ 0.003% of males
Achromatomaly #b96fac ≈ 0.001% of males
Protanopia #2676d9 ≈ 1.01% of males
Deuteranopia #7591d1 ≈ 1.27% of males
Tritanopia #f74382 ≈ 0.0001% of males
Protanomaly #9f61d8 ≈ 1.08% of males
Deuteranomaly #b276d2 ≈ 4.63% of males
Tritanomaly #f33caa ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Shocking Pink
#ec2dd5  rgb(236, 45, 213)  hsl(307, 83%, 55%)  Shocking Pink
#2dec44  rgb(45, 236, 68)  hsl(127, 83%, 55%)  Malachite
#d5ec2d  rgb(213, 236, 45)  hsl(67, 83%, 55%)  Pear
#2dd5ec  rgb(45, 213, 236)  hsl(187, 83%, 55%)  Dark Turquoise