#EC07B2

#ec07b2 ≈ Shocking Pink

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

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

Description generated from the measured properties of this color.

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

Readable text 4.01:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.24:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7f7f7f ≈ 0.003% of males
Achromatomaly #b56496 ≈ 0.001% of males
Protanopia #3769b6 ≈ 1.01% of males
Deuteranopia #7e8bae ≈ 1.27% of males
Tritanopia #fc0669 ≈ 0.0001% of males
Protanomaly #a153b4 ≈ 1.08% of males
Deuteranomaly #b56eaf ≈ 4.63% of males
Tritanomaly #f6078c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Shocking Pink
#ec07b2  rgb(236, 7, 178)  hsl(315, 94%, 48%)  Shocking Pink
#07ec41  rgb(7, 236, 65)  hsl(135, 94%, 48%)  Malachite
#b2ec07  rgb(178, 236, 7)  hsl(75, 94%, 48%)  Spring Bud
#07b2ec  rgb(7, 178, 236)  hsl(195, 94%, 48%)  Deep Sky Blue