#EC0FC2

#ec0fc2 ≈ Shocking Pink

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

#ec0fc2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 92.55% red, 5.88% green and 76.08% blue; printed in CMYK it uses 0% cyan, 93.64% magenta, 17.8% yellow and 7.45% black. Its hue angle is 311.4°, with 88.05% saturation and 49.22% 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.41:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 3.41.

Description generated from the measured properties of this color.

Conversions of #ec0fc2 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.2207

Readable text 3.88:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.41:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #818181 ≈ 0.003% of males
Achromatomaly #b6679f ≈ 0.001% of males
Protanopia #296dc6 ≈ 1.01% of males
Deuteranopia #788cbe ≈ 1.27% of males
Tritanopia #fa2573 ≈ 0.0001% of males
Protanomaly #9f56c4 ≈ 1.08% of males
Deuteranomaly #b36fbf ≈ 4.63% of males
Tritanomaly #f51e99 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ec0fc2 {
  color: #ec0fc2;
}
Background
.bg-ec0fc2 {
  background-color: #ec0fc2;
  color: #000000;
}
Border
.border-ec0fc2 {
  border: 2px solid #ec0fc2;
}
CSS variables
:root {
  --color-primary: #ec0fc2;
  --color-primary-rgb: 236 15 194;
  --color-primary-hsl: 311 88% 49%;
}
Gradient
.gradient-ec0fc2 {
  background: linear-gradient(135deg, #ec0fc2, #ec0f54);
}
Colored shadow
.shadow-ec0fc2 {
  box-shadow: 0 8px 24px rgb(236 15 194 / 0.35);
}

Shocking Pink
#ec0fc2  rgb(236, 15, 194)  hsl(311, 88%, 49%)  Shocking Pink
#0fec39  rgb(15, 236, 57)  hsl(131, 88%, 49%)  Lime
#c2ec0f  rgb(194, 236, 15)  hsl(71, 88%, 49%)  Electric Lime
#0fc2ec  rgb(15, 194, 236)  hsl(191, 88%, 49%)  Deep Sky Blue