#EC2CB2

#ec2cb2 ≈ Shocking Pink

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

#ec2cb2 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 69.8% blue; printed in CMYK it uses 0% cyan, 81.36% magenta, 24.58% yellow and 7.45% black. Its hue angle is 318.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.57:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 2.82.

Description generated from the measured properties of this color.

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

Readable text 3.77:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.57:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #838383 ≈ 0.003% of males
Achromatomaly #b76b98 ≈ 0.001% of males
Protanopia #476fb5 ≈ 1.01% of males
Deuteranopia #838fae ≈ 1.27% of males
Tritanopia #fc2a6e ≈ 0.0001% of males
Protanomaly #a45cb4 ≈ 1.08% of males
Deuteranomaly #b774b0 ≈ 4.63% of males
Tritanomaly #f62b8e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Shocking Pink
#ec2cb2  rgb(236, 44, 178)  hsl(318, 83%, 55%)  Shocking Pink
#2cec66  rgb(44, 236, 102)  hsl(138, 83%, 55%)  Malachite
#b2ec2c  rgb(178, 236, 44)  hsl(78, 83%, 55%)  Spring Bud
#2cb2ec  rgb(44, 178, 236)  hsl(198, 83%, 55%)  Deep Sky Blue