#EB12CD

#eb12cd ≈ Shocking Pink

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

#eb12cd is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 92.16% red, 7.06% green and 80.39% blue; printed in CMYK it uses 0% cyan, 92.34% magenta, 12.77% yellow and 7.84% black. Its hue angle is 308.29°, with 85.77% saturation and 49.61% 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.5:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 4.39.

Description generated from the measured properties of this color.

Conversions of #eb12cd 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.225

Readable text 3.82:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.5:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #828282 ≈ 0.003% of males
Achromatomaly #b668a6 ≈ 0.001% of males
Protanopia #166fd1 ≈ 1.01% of males
Deuteranopia #738dc9 ≈ 1.27% of males
Tritanopia #f7317a ≈ 0.0001% of males
Protanomaly #9d58d0 ≈ 1.08% of males
Deuteranomaly #b070ca ≈ 4.63% of males
Tritanomaly #f328a2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Shocking Pink
#eb12cd  rgb(235, 18, 205)  hsl(308, 86%, 50%)  Shocking Pink
#12eb30  rgb(18, 235, 48)  hsl(128, 86%, 50%)  Lime
#cdeb12  rgb(205, 235, 18)  hsl(68, 86%, 50%)  Pear
#12cdeb  rgb(18, 205, 235)  hsl(188, 86%, 50%)  Sky Blue