#EC17CD

#ec17cd ≈ Shocking Pink

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

#ec17cd 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.39% blue; printed in CMYK it uses 0% cyan, 90.25% magenta, 13.14% yellow and 7.45% black. Its hue angle is 308.73°, 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.57:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 4.1.

Description generated from the measured properties of this color.

Conversions of #ec17cd 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 #b769a6 ≈ 0.001% of males
Protanopia #1c70d1 ≈ 1.01% of males
Deuteranopia #758ec9 ≈ 1.27% of males
Tritanopia #f9327a ≈ 0.0001% of males
Protanomaly #9e5acf ≈ 1.08% of males
Deuteranomaly #b171ca ≈ 4.63% of males
Tritanomaly #f42aa2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Shocking Pink
#ec17cd  rgb(236, 23, 205)  hsl(309, 85%, 51%)  Shocking Pink
#17ec36  rgb(23, 236, 54)  hsl(129, 85%, 51%)  Lime
#cdec17  rgb(205, 236, 23)  hsl(69, 85%, 51%)  Pear
#17cdec  rgb(23, 205, 236)  hsl(189, 85%, 51%)  Sky Blue