#EC15B2

#ec15b2 ≈ Shocking Pink

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

#ec15b2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 92.55% red, 8.24% green and 69.8% blue; printed in CMYK it uses 0% cyan, 91.1% magenta, 24.58% yellow and 7.45% black. Its hue angle is 316.19°, with 84.98% saturation and 50.39% 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.32:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 3.37.

Description generated from the measured properties of this color.

Conversions of #ec15b2 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#ff0099
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.2158

Readable text 3.95:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.32:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #808080 ≈ 0.003% of males
Achromatomaly #b66697 ≈ 0.001% of males
Protanopia #3b6bb5 ≈ 1.01% of males
Deuteranopia #7f8cae ≈ 1.27% of males
Tritanopia #fc146a ≈ 0.0001% of males
Protanomaly #a255b4 ≈ 1.08% of males
Deuteranomaly #b56faf ≈ 4.63% of males
Tritanomaly #f6148d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ec15b2 {
  color: #ec15b2;
}
Background
.bg-ec15b2 {
  background-color: #ec15b2;
  color: #000000;
}
Border
.border-ec15b2 {
  border: 2px solid #ec15b2;
}
CSS variables
:root {
  --color-primary: #ec15b2;
  --color-primary-rgb: 236 21 178;
  --color-primary-hsl: 316 85% 50%;
}
Gradient
.gradient-ec15b2 {
  background: linear-gradient(135deg, #ec15b2, #ec1546);
}
Colored shadow
.shadow-ec15b2 {
  box-shadow: 0 8px 24px rgb(236 21 178 / 0.35);
}

Shocking Pink
#ec15b2  rgb(236, 21, 178)  hsl(316, 85%, 50%)  Shocking Pink
#15ec4f  rgb(21, 236, 79)  hsl(136, 85%, 50%)  Malachite
#b2ec15  rgb(178, 236, 21)  hsl(76, 85%, 50%)  Spring Bud
#15b2ec  rgb(21, 178, 236)  hsl(196, 85%, 50%)  Deep Sky Blue