#EC18CC

#ec18cc ≈ Shocking Pink

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

#ec18cc 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 80% blue; printed in CMYK it uses 0% cyan, 89.83% magenta, 13.56% yellow and 7.45% black. Its hue angle is 309.06°, 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.57:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 3.97.

Description generated from the measured properties of this color.

Conversions of #ec18cc 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.2285

Readable text 3.77:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.57:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #838383 ≈ 0.003% of males
Achromatomaly #b769a5 ≈ 0.001% of males
Protanopia #1f70d0 ≈ 1.01% of males
Deuteranopia #758ec8 ≈ 1.27% of males
Tritanopia #f9327a ≈ 0.0001% of males
Protanomaly #9e5ace ≈ 1.08% of males
Deuteranomaly #b271c9 ≈ 4.63% of males
Tritanomaly #f42aa1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Shocking Pink
#ec18cc  rgb(236, 24, 204)  hsl(309, 85%, 51%)  Shocking Pink
#18ec38  rgb(24, 236, 56)  hsl(129, 85%, 51%)  Lime
#ccec18  rgb(204, 236, 24)  hsl(69, 85%, 51%)  Pear
#18ccec  rgb(24, 204, 236)  hsl(189, 85%, 51%)  Sky Blue