#EC28CB

#ec28cb ≈ Shocking Pink

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

#ec28cb is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 92.55% red, 15.69% green and 79.61% blue; printed in CMYK it uses 0% cyan, 83.05% magenta, 13.98% yellow and 7.45% black. Its hue angle is 310.1°, with 83.76% saturation and 54.12% 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.73:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 3.47.

Description generated from the measured properties of this color.

Conversions of #ec28cb 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.2366

Readable text 3.66:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.73:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #868686 ≈ 0.003% of males
Achromatomaly #b86ca6 ≈ 0.001% of males
Protanopia #2e73cf ≈ 1.01% of males
Deuteranopia #7990c7 ≈ 1.27% of males
Tritanopia #f93a7c ≈ 0.0001% of males
Protanomaly #a05ecd ≈ 1.08% of males
Deuteranomaly #b374c8 ≈ 4.63% of males
Tritanomaly #f434a2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ec28cb {
  color: #ec28cb;
}
Background
.bg-ec28cb {
  background-color: #ec28cb;
  color: #000000;
}
Border
.border-ec28cb {
  border: 2px solid #ec28cb;
}
CSS variables
:root {
  --color-primary: #ec28cb;
  --color-primary-rgb: 236 40 203;
  --color-primary-hsl: 310 84% 54%;
}
Gradient
.gradient-ec28cb {
  background: linear-gradient(135deg, #ec28cb, #ec2869);
}
Colored shadow
.shadow-ec28cb {
  box-shadow: 0 8px 24px rgb(236 40 203 / 0.35);
}

Shocking Pink
#ec28cb  rgb(236, 40, 203)  hsl(310, 84%, 54%)  Shocking Pink
#28ec49  rgb(40, 236, 73)  hsl(130, 84%, 54%)  Malachite
#cbec28  rgb(203, 236, 40)  hsl(70, 84%, 54%)  Pear
#28cbec  rgb(40, 203, 236)  hsl(190, 84%, 54%)  Sky Blue