#ED28D2

#ed28d2 ≈ Shocking Pink

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

#ed28d2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 92.94% red, 15.69% green and 82.35% blue; printed in CMYK it uses 0% cyan, 83.12% magenta, 11.39% yellow and 7.06% black. Its hue angle is 308.22°, with 84.55% saturation and 54.31% 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.84:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 4.16.

Description generated from the measured properties of this color.

Conversions of #ed28d2 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.2418

Readable text 3.6:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.84:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #878787 ≈ 0.003% of males
Achromatomaly #b96daa ≈ 0.001% of males
Protanopia #2675d6 ≈ 1.01% of males
Deuteranopia #7691ce ≈ 1.27% of males
Tritanopia #f93e80 ≈ 0.0001% of males
Protanomaly #a05fd5 ≈ 1.08% of males
Deuteranomaly #b375cf ≈ 4.63% of males
Tritanomaly #f437a7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ed28d2 {
  color: #ed28d2;
}
Background
.bg-ed28d2 {
  background-color: #ed28d2;
  color: #000000;
}
Border
.border-ed28d2 {
  border: 2px solid #ed28d2;
}
CSS variables
:root {
  --color-primary: #ed28d2;
  --color-primary-rgb: 237 40 210;
  --color-primary-hsl: 308 85% 54%;
}
Gradient
.gradient-ed28d2 {
  background: linear-gradient(135deg, #ed28d2, #ed286f);
}
Colored shadow
.shadow-ed28d2 {
  box-shadow: 0 8px 24px rgb(237 40 210 / 0.35);
}

Shocking Pink
#ed28d2  rgb(237, 40, 210)  hsl(308, 85%, 54%)  Shocking Pink
#28ed43  rgb(40, 237, 67)  hsl(128, 85%, 54%)  Lime
#d2ed28  rgb(210, 237, 40)  hsl(68, 85%, 54%)  Pear
#28d2ed  rgb(40, 210, 237)  hsl(188, 85%, 54%)  Sky Blue