#EC0BC7

#ec0bc7 ≈ Shocking Pink

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

#ec0bc7 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 92.55% red, 4.31% green and 78.04% blue; printed in CMYK it uses 0% cyan, 95.34% magenta, 15.68% yellow and 7.45% black. Its hue angle is 309.87°, with 91.09% saturation and 48.43% 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.44:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 3.81.

Description generated from the measured properties of this color.

Conversions of #ec0bc7 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.222

Readable text 3.86:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.44:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #828282 ≈ 0.003% of males
Achromatomaly #b667a2 ≈ 0.001% of males
Protanopia #206ecb ≈ 1.01% of males
Deuteranopia #768cc3 ≈ 1.27% of males
Tritanopia #f92876 ≈ 0.0001% of males
Protanomaly #9e57c9 ≈ 1.08% of males
Deuteranomaly #b26fc4 ≈ 4.63% of males
Tritanomaly #f4209d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ec0bc7 {
  color: #ec0bc7;
}
Background
.bg-ec0bc7 {
  background-color: #ec0bc7;
  color: #000000;
}
Border
.border-ec0bc7 {
  border: 2px solid #ec0bc7;
}
CSS variables
:root {
  --color-primary: #ec0bc7;
  --color-primary-rgb: 236 11 199;
  --color-primary-hsl: 310 91% 48%;
}
Gradient
.gradient-ec0bc7 {
  background: linear-gradient(135deg, #ec0bc7, #ec0b56);
}
Colored shadow
.shadow-ec0bc7 {
  box-shadow: 0 8px 24px rgb(236 11 199 / 0.35);
}

Shocking Pink
#ec0bc7  rgb(236, 11, 199)  hsl(310, 91%, 48%)  Shocking Pink
#0bec30  rgb(11, 236, 48)  hsl(130, 91%, 48%)  Lime
#c7ec0b  rgb(199, 236, 11)  hsl(70, 91%, 48%)  Pear
#0bc7ec  rgb(11, 199, 236)  hsl(190, 91%, 48%)  Sky Blue