#EC51CD

#ec51cd ≈ Shocking Pink

  • magenta
  • Lightness: high
  • Saturation: strong
  • Balanced

#ec51cd is a color from the magenta family, with high lightness and strong saturation. In the RGB model it is made of 92.55% red, 31.76% green and 80.39% blue; printed in CMYK it uses 0% cyan, 65.68% magenta, 13.14% yellow and 7.45% black. Its hue angle is 312°, with 80.31% saturation and 62.16% 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 6.63:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 5.12.

Description generated from the measured properties of this color.

Conversions of #ec51cd into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#ff66cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.2813

Readable text 3.17:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.63:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #919191 ≈ 0.003% of males
Achromatomaly #bc7cac ≈ 0.001% of males
Protanopia #5481d1 ≈ 1.01% of males
Deuteranopia #8699c9 ≈ 1.27% of males
Tritanopia #f85988 ≈ 0.0001% of males
Protanomaly #a871cf ≈ 1.08% of males
Deuteranomaly #b882cb ≈ 4.63% of males
Tritanomaly #f356a8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ec51cd {
  color: #ec51cd;
}
Background
.bg-ec51cd {
  background-color: #ec51cd;
  color: #000000;
}
Border
.border-ec51cd {
  border: 2px solid #ec51cd;
}
CSS variables
:root {
  --color-primary: #ec51cd;
  --color-primary-rgb: 236 81 205;
  --color-primary-hsl: 312 80% 62%;
}
Gradient
.gradient-ec51cd {
  background: linear-gradient(135deg, #ec51cd, #ec5180);
}
Colored shadow
.shadow-ec51cd {
  box-shadow: 0 8px 24px rgb(236 81 205 / 0.35);
}

Shocking Pink
#ec51cd  rgb(236, 81, 205)  hsl(312, 80%, 62%)  Shocking Pink
#51ec70  rgb(81, 236, 112)  hsl(132, 80%, 62%)  Spring Green
#cdec51  rgb(205, 236, 81)  hsl(72, 80%, 62%)  Pear
#51cdec  rgb(81, 205, 236)  hsl(192, 80%, 62%)  Sky Blue