#EC51C6

#ec51c6 ≈ Shocking Pink

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

#ec51c6 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 77.65% blue; printed in CMYK it uses 0% cyan, 65.68% magenta, 16.1% yellow and 7.45% black. Its hue angle is 314.71°, 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.56:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 4.73.

Description generated from the measured properties of this color.

Conversions of #ec51c6 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.2779

Readable text 3.2:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.56:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #909090 ≈ 0.003% of males
Achromatomaly #bc7ba8 ≈ 0.001% of males
Protanopia #5880c9 ≈ 1.01% of males
Deuteranopia #8999c2 ≈ 1.27% of males
Tritanopia #f95684 ≈ 0.0001% of males
Protanomaly #a970c8 ≈ 1.08% of males
Deuteranomaly #b982c4 ≈ 4.63% of males
Tritanomaly #f454a3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Shocking Pink
#ec51c6  rgb(236, 81, 198)  hsl(315, 80%, 62%)  Shocking Pink
#51ec77  rgb(81, 236, 119)  hsl(135, 80%, 62%)  Spring Green
#c6ec51  rgb(198, 236, 81)  hsl(75, 80%, 62%)  Inchworm
#51c6ec  rgb(81, 198, 236)  hsl(195, 80%, 62%)  Sky Blue