#EC22BD

#ec22bd ≈ Shocking Pink

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

#ec22bd is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 92.55% red, 13.33% green and 74.12% blue; printed in CMYK it uses 0% cyan, 85.59% magenta, 19.92% yellow and 7.45% black. Its hue angle is 313.96°, with 84.17% saturation and 52.94% 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.53:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 2.61.

Description generated from the measured properties of this color.

Conversions of #ec22bd 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.2265

Readable text 3.8:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.53:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #838383 ≈ 0.003% of males
Achromatomaly #b7699d ≈ 0.001% of males
Protanopia #396fc1 ≈ 1.01% of males
Deuteranopia #7d8eb9 ≈ 1.27% of males
Tritanopia #fb2b72 ≈ 0.0001% of males
Protanomaly #a25abf ≈ 1.08% of males
Deuteranomaly #b472ba ≈ 4.63% of males
Tritanomaly #f52896 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Shocking Pink
#ec22bd  rgb(236, 34, 189)  hsl(314, 84%, 53%)  Shocking Pink
#22ec51  rgb(34, 236, 81)  hsl(134, 84%, 53%)  Malachite
#bdec22  rgb(189, 236, 34)  hsl(74, 84%, 53%)  Electric Lime
#22bdec  rgb(34, 189, 236)  hsl(194, 84%, 53%)  Deep Sky Blue