#EC12BF

#ec12bf ≈ Shocking Pink

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

#ec12bf is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 92.55% red, 7.06% green and 74.9% blue; printed in CMYK it uses 0% cyan, 92.37% magenta, 19.07% yellow and 7.45% black. Its hue angle is 312.39°, with 85.83% saturation and 49.8% 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.2.

Description generated from the measured properties of this color.

Conversions of #ec12bf 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.2203

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 #b6679e ≈ 0.001% of males
Protanopia #2e6dc3 ≈ 1.01% of males
Deuteranopia #7a8cbb ≈ 1.27% of males
Tritanopia #fa2371 ≈ 0.0001% of males
Protanomaly #a056c1 ≈ 1.08% of males
Deuteranomaly #b370bc ≈ 4.63% of males
Tritanomaly #f51d97 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ec12bf {
  color: #ec12bf;
}
Background
.bg-ec12bf {
  background-color: #ec12bf;
  color: #000000;
}
Border
.border-ec12bf {
  border: 2px solid #ec12bf;
}
CSS variables
:root {
  --color-primary: #ec12bf;
  --color-primary-rgb: 236 18 191;
  --color-primary-hsl: 312 86% 50%;
}
Gradient
.gradient-ec12bf {
  background: linear-gradient(135deg, #ec12bf, #ec1252);
}
Colored shadow
.shadow-ec12bf {
  box-shadow: 0 8px 24px rgb(236 18 191 / 0.35);
}

Shocking Pink
#ec12bf  rgb(236, 18, 191)  hsl(312, 86%, 50%)  Shocking Pink
#12ec3f  rgb(18, 236, 63)  hsl(132, 86%, 50%)  Malachite
#bfec12  rgb(191, 236, 18)  hsl(72, 86%, 50%)  Electric Lime
#12bfec  rgb(18, 191, 236)  hsl(192, 86%, 50%)  Deep Sky Blue