#EB31B2

#eb31b2 ≈ Shocking Pink

  • magenta
  • Lightness: medium
  • Saturation: strong
  • Balanced

#eb31b2 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 92.16% red, 19.22% green and 69.8% blue; printed in CMYK it uses 0% cyan, 79.15% magenta, 24.26% yellow and 7.84% black. Its hue angle is 318.39°, with 82.3% saturation and 55.69% 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.61:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 2.91.

Description generated from the measured properties of this color.

Conversions of #eb31b2 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#ff3399
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.2307

Readable text 3.74:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.61:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #848484 ≈ 0.003% of males
Achromatomaly #b76c99 ≈ 0.001% of males
Protanopia #4a70b5 ≈ 1.01% of males
Deuteranopia #848fae ≈ 1.27% of males
Tritanopia #fb306f ≈ 0.0001% of males
Protanomaly #a45db4 ≈ 1.08% of males
Deuteranomaly #b675b0 ≈ 4.63% of males
Tritanomaly #f5308f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-eb31b2 {
  color: #eb31b2;
}
Background
.bg-eb31b2 {
  background-color: #eb31b2;
  color: #000000;
}
Border
.border-eb31b2 {
  border: 2px solid #eb31b2;
}
CSS variables
:root {
  --color-primary: #eb31b2;
  --color-primary-rgb: 235 49 178;
  --color-primary-hsl: 318 82% 56%;
}
Gradient
.gradient-eb31b2 {
  background: linear-gradient(135deg, #eb31b2, #eb3155);
}
Colored shadow
.shadow-eb31b2 {
  box-shadow: 0 8px 24px rgb(235 49 178 / 0.35);
}

Shocking Pink
#eb31b2  rgb(235, 49, 178)  hsl(318, 82%, 56%)  Shocking Pink
#31eb6a  rgb(49, 235, 106)  hsl(138, 82%, 56%)  Malachite
#b2eb31  rgb(178, 235, 49)  hsl(78, 82%, 56%)  Inchworm
#31b2eb  rgb(49, 178, 235)  hsl(198, 82%, 56%)  Deep Sky Blue