#EC18BF

#ec18bf ≈ Shocking Pink

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

#ec18bf is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 92.55% red, 9.41% green and 74.9% blue; printed in CMYK it uses 0% cyan, 89.83% magenta, 19.07% yellow and 7.45% black. Its hue angle is 312.74°, with 84.8% saturation and 50.98% 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.45:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 3.02.

Description generated from the measured properties of this color.

Conversions of #ec18bf 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.2225

Readable text 3.85:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.45:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #828282 ≈ 0.003% of males
Achromatomaly #b6689e ≈ 0.001% of males
Protanopia #316ec3 ≈ 1.01% of males
Deuteranopia #7b8dbb ≈ 1.27% of males
Tritanopia #fa2672 ≈ 0.0001% of males
Protanomaly #a058c1 ≈ 1.08% of males
Deuteranomaly #b470bc ≈ 4.63% of males
Tritanomaly #f52197 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Shocking Pink
#ec18bf  rgb(236, 24, 191)  hsl(313, 85%, 51%)  Shocking Pink
#18ec45  rgb(24, 236, 69)  hsl(133, 85%, 51%)  Malachite
#bfec18  rgb(191, 236, 24)  hsl(73, 85%, 51%)  Electric Lime
#18bfec  rgb(24, 191, 236)  hsl(193, 85%, 51%)  Deep Sky Blue