#EC07CA

#ec07ca ≈ Shocking Pink

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

#ec07ca is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 92.55% red, 2.75% green and 79.22% blue; printed in CMYK it uses 0% cyan, 97.03% magenta, 14.41% yellow and 7.45% black. Its hue angle is 308.91°, with 94.24% saturation and 47.65% 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.45:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 4.12.

Description generated from the measured properties of this color.

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

Readable text 3.85:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.45:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #828282 ≈ 0.003% of males
Achromatomaly #b667a4 ≈ 0.001% of males
Protanopia #186ece ≈ 1.01% of males
Deuteranopia #748dc6 ≈ 1.27% of males
Tritanopia #f92a77 ≈ 0.0001% of males
Protanomaly #9e57cc ≈ 1.08% of males
Deuteranomaly #b16fc7 ≈ 4.63% of males
Tritanomaly #f4219f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ec07ca {
  color: #ec07ca;
}
Background
.bg-ec07ca {
  background-color: #ec07ca;
  color: #000000;
}
Border
.border-ec07ca {
  border: 2px solid #ec07ca;
}
CSS variables
:root {
  --color-primary: #ec07ca;
  --color-primary-rgb: 236 7 202;
  --color-primary-hsl: 309 94% 48%;
}
Gradient
.gradient-ec07ca {
  background: linear-gradient(135deg, #ec07ca, #ec0757);
}
Colored shadow
.shadow-ec07ca {
  box-shadow: 0 8px 24px rgb(236 7 202 / 0.35);
}

Shocking Pink
#ec07ca  rgb(236, 7, 202)  hsl(309, 94%, 48%)  Shocking Pink
#07ec29  rgb(7, 236, 41)  hsl(129, 94%, 48%)  Lime
#caec07  rgb(202, 236, 7)  hsl(69, 94%, 48%)  Pear
#07caec  rgb(7, 202, 236)  hsl(189, 94%, 48%)  Sky Blue