#EC01C8

#ec01c8 ≈ Shocking Pink

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

#ec01c8 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 92.55% red, 0.39% green and 78.43% blue; printed in CMYK it uses 0% cyan, 99.58% magenta, 15.25% yellow and 7.45% black. Its hue angle is 309.19°, with 99.16% saturation and 46.47% 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.4:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 4.06.

Description generated from the measured properties of this color.

Conversions of #ec01c8 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.2202

Readable text 3.89:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.4:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #818181 ≈ 0.003% of males
Achromatomaly #b666a2 ≈ 0.001% of males
Protanopia #196dcc ≈ 1.01% of males
Deuteranopia #758cc4 ≈ 1.27% of males
Tritanopia #f92676 ≈ 0.0001% of males
Protanomaly #9e56ca ≈ 1.08% of males
Deuteranomaly #b16fc5 ≈ 4.63% of males
Tritanomaly #f41d9d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Shocking Pink
#ec01c8  rgb(236, 1, 200)  hsl(309, 99%, 46%)  Shocking Pink
#01ec25  rgb(1, 236, 37)  hsl(129, 99%, 46%)  Lime
#c8ec01  rgb(200, 236, 1)  hsl(69, 99%, 46%)  Pear
#01c8ec  rgb(1, 200, 236)  hsl(189, 99%, 46%)  Sky Blue