#EB31C8

#eb31c8 ≈ Shocking Pink

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

#eb31c8 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 78.43% blue; printed in CMYK it uses 0% cyan, 79.15% magenta, 14.89% yellow and 7.84% black. Its hue angle is 311.29°, 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.81:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 3.15.

Description generated from the measured properties of this color.

Conversions of #eb31c8 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.2403

Readable text 3.62:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.81:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #868686 ≈ 0.003% of males
Achromatomaly #b86ea5 ≈ 0.001% of males
Protanopia #3975cc ≈ 1.01% of males
Deuteranopia #7c90c4 ≈ 1.27% of males
Tritanopia #f83e7c ≈ 0.0001% of males
Protanomaly #a160ca ≈ 1.08% of males
Deuteranomaly #b376c6 ≈ 4.63% of males
Tritanomaly #f339a0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Shocking Pink
#eb31c8  rgb(235, 49, 200)  hsl(311, 82%, 56%)  Shocking Pink
#31eb54  rgb(49, 235, 84)  hsl(131, 82%, 56%)  Malachite
#c8eb31  rgb(200, 235, 49)  hsl(71, 82%, 56%)  Pear
#31c8eb  rgb(49, 200, 235)  hsl(191, 82%, 56%)  Sky Blue