#EC1EC2

#ec1ec2 ≈ Shocking Pink

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

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

Description generated from the measured properties of this color.

Conversions of #ec1ec2 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.2266

Readable text 3.8:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.53:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #838383 ≈ 0.003% of males
Achromatomaly #b769a0 ≈ 0.001% of males
Protanopia #316fc6 ≈ 1.01% of males
Deuteranopia #7a8ebe ≈ 1.27% of males
Tritanopia #fa2d75 ≈ 0.0001% of males
Protanomaly #a159c4 ≈ 1.08% of males
Deuteranomaly #b372bf ≈ 4.63% of males
Tritanomaly #f5289a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Shocking Pink
#ec1ec2  rgb(236, 30, 194)  hsl(312, 84%, 52%)  Shocking Pink
#1eec48  rgb(30, 236, 72)  hsl(132, 84%, 52%)  Malachite
#c2ec1e  rgb(194, 236, 30)  hsl(72, 84%, 52%)  Electric Lime
#1ec2ec  rgb(30, 194, 236)  hsl(192, 84%, 52%)  Deep Sky Blue