#EC17CC

#ec17cc ≈ Shocking Pink

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

#ec17cc 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.02% green and 80% blue; printed in CMYK it uses 0% cyan, 90.25% magenta, 13.56% yellow and 7.45% black. Its hue angle is 309.01°, with 84.86% saturation and 50.78% 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.56:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 4.

Description generated from the measured properties of this color.

Conversions of #ec17cc 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.2281

Readable text 3.78:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.56:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

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

Text in this color

Background in this color

Border in this color

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

Shocking Pink
#ec17cc  rgb(236, 23, 204)  hsl(309, 85%, 51%)  Shocking Pink
#17ec37  rgb(23, 236, 55)  hsl(129, 85%, 51%)  Lime
#ccec17  rgb(204, 236, 23)  hsl(69, 85%, 51%)  Pear
#17ccec  rgb(23, 204, 236)  hsl(189, 85%, 51%)  Sky Blue