#ED04CD

#ed04cd ≈ Shocking Pink

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

#ed04cd is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 92.94% red, 1.57% green and 80.39% blue; printed in CMYK it uses 0% cyan, 98.31% magenta, 13.5% yellow and 7.06% black. Its hue angle is 308.24°, with 96.68% saturation and 47.25% 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.5:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 4.25.

Description generated from the measured properties of this color.

Conversions of #ed04cd 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.225

Readable text 3.82:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.5:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #828282 ≈ 0.003% of males
Achromatomaly #b767a6 ≈ 0.001% of males
Protanopia #106fd1 ≈ 1.01% of males
Deuteranopia #738dc9 ≈ 1.27% of males
Tritanopia #fa2c79 ≈ 0.0001% of males
Protanomaly #9e57d0 ≈ 1.08% of males
Deuteranomaly #b270ca ≈ 4.63% of males
Tritanomaly #f521a1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ed04cd {
  color: #ed04cd;
}
Background
.bg-ed04cd {
  background-color: #ed04cd;
  color: #000000;
}
Border
.border-ed04cd {
  border: 2px solid #ed04cd;
}
CSS variables
:root {
  --color-primary: #ed04cd;
  --color-primary-rgb: 237 4 205;
  --color-primary-hsl: 308 97% 47%;
}
Gradient
.gradient-ed04cd {
  background: linear-gradient(135deg, #ed04cd, #ed0458);
}
Colored shadow
.shadow-ed04cd {
  box-shadow: 0 8px 24px rgb(237 4 205 / 0.35);
}

Shocking Pink
#ed04cd  rgb(237, 4, 205)  hsl(308, 97%, 47%)  Shocking Pink
#04ed24  rgb(4, 237, 36)  hsl(128, 97%, 47%)  Lime
#cded04  rgb(205, 237, 4)  hsl(68, 97%, 47%)  Pear
#04cded  rgb(4, 205, 237)  hsl(188, 97%, 47%)  Sky Blue