#EB31D2

#eb31d2 ≈ Shocking Pink

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

#eb31d2 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 82.35% blue; printed in CMYK it uses 0% cyan, 79.15% magenta, 10.64% yellow and 7.84% black. Its hue angle is 308.06°, 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.9:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 4.32.

Description generated from the measured properties of this color.

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

Readable text 3.56:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.9:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #888888 ≈ 0.003% of males
Achromatomaly #b86fab ≈ 0.001% of males
Protanopia #2e77d6 ≈ 1.01% of males
Deuteranopia #7791ce ≈ 1.27% of males
Tritanopia #f64481 ≈ 0.0001% of males
Protanomaly #9f62d4 ≈ 1.08% of males
Deuteranomaly #b276cf ≈ 4.63% of males
Tritanomaly #f23ea8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Shocking Pink
#eb31d2  rgb(235, 49, 210)  hsl(308, 82%, 56%)  Shocking Pink
#31eb4a  rgb(49, 235, 74)  hsl(128, 82%, 56%)  Malachite
#d2eb31  rgb(210, 235, 49)  hsl(68, 82%, 56%)  Pear
#31d2eb  rgb(49, 210, 235)  hsl(188, 82%, 56%)  Dark Turquoise