#EC17C8

#ec17c8 ≈ Shocking Pink

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

#ec17c8 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 78.43% blue; printed in CMYK it uses 0% cyan, 90.25% magenta, 15.25% yellow and 7.45% black. Its hue angle is 310.14°, 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.52:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 3.62.

Description generated from the measured properties of this color.

Conversions of #ec17c8 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.2262

Readable text 3.8:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.52:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #838383 ≈ 0.003% of males
Achromatomaly #b768a3 ≈ 0.001% of males
Protanopia #256fcc ≈ 1.01% of males
Deuteranopia #778dc4 ≈ 1.27% of males
Tritanopia #f92e77 ≈ 0.0001% of males
Protanomaly #9f59ca ≈ 1.08% of males
Deuteranomaly #b271c5 ≈ 4.63% of males
Tritanomaly #f4279e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Shocking Pink
#ec17c8  rgb(236, 23, 200)  hsl(310, 85%, 51%)  Shocking Pink
#17ec3b  rgb(23, 236, 59)  hsl(130, 85%, 51%)  Lime
#c8ec17  rgb(200, 236, 23)  hsl(70, 85%, 51%)  Pear
#17c8ec  rgb(23, 200, 236)  hsl(190, 85%, 51%)  Sky Blue