#EC00B4

#ec00b4 ≈ Shocking Pink

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

#ec00b4 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 92.55% red, 0% green and 70.59% blue; printed in CMYK it uses 0% cyan, 100% magenta, 23.73% yellow and 7.45% black. Its hue angle is 314.24°, with 100% saturation and 46.27% 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.23:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 3.69.

Description generated from the measured properties of this color.

Conversions of #ec00b4 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.2113

Readable text 4.02:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.23:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7f7f7f ≈ 0.003% of males
Achromatomaly #b56497 ≈ 0.001% of males
Protanopia #3469b8 ≈ 1.01% of males
Deuteranopia #7d8bb0 ≈ 1.27% of males
Tritanopia #fc0569 ≈ 0.0001% of males
Protanomaly #a152b6 ≈ 1.08% of males
Deuteranomaly #b46db1 ≈ 4.63% of males
Tritanomaly #f6038d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ec00b4 {
  color: #ec00b4;
}
Background
.bg-ec00b4 {
  background-color: #ec00b4;
  color: #000000;
}
Border
.border-ec00b4 {
  border: 2px solid #ec00b4;
}
CSS variables
:root {
  --color-primary: #ec00b4;
  --color-primary-rgb: 236 0 180;
  --color-primary-hsl: 314 100% 46%;
}
Gradient
.gradient-ec00b4 {
  background: linear-gradient(135deg, #ec00b4, #ec003e);
}
Colored shadow
.shadow-ec00b4 {
  box-shadow: 0 8px 24px rgb(236 0 180 / 0.35);
}

Shocking Pink
#ec00b4  rgb(236, 0, 180)  hsl(314, 100%, 46%)  Shocking Pink
#00ec38  rgb(0, 236, 56)  hsl(134, 100%, 46%)  Lime
#b4ec00  rgb(180, 236, 0)  hsl(74, 100%, 46%)  Spring Bud
#00b4ec  rgb(0, 180, 236)  hsl(194, 100%, 46%)  Deep Sky Blue