#FF31CE

#ff31ce ≈ Shocking Pink

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

#ff31ce is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 100% red, 19.22% green and 80.78% blue; printed in CMYK it uses 0% cyan, 80.78% magenta, 19.22% yellow and 0% black. Its hue angle is 314.27°, with 100% saturation and 59.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 6.58:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 2.98.

Description generated from the measured properties of this color.

Conversions of #ff31ce 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.2791

Readable text 3.19:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.58:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #909090 ≈ 0.003% of males
Achromatomaly #c676ac ≈ 0.001% of males
Protanopia #447cd2 ≈ 1.01% of males
Deuteranopia #8a9bca ≈ 1.27% of males
Tritanopia #ff397f ≈ 0.0001% of males
Protanomaly #b066d0 ≈ 1.08% of males
Deuteranomaly #c47ecb ≈ 4.63% of males
Tritanomaly #ff36a5 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ff31ce {
  color: #ff31ce;
}
Background
.bg-ff31ce {
  background-color: #ff31ce;
  color: #000000;
}
Border
.border-ff31ce {
  border: 2px solid #ff31ce;
}
CSS variables
:root {
  --color-primary: #ff31ce;
  --color-primary-rgb: 255 49 206;
  --color-primary-hsl: 314 100% 60%;
}
Gradient
.gradient-ff31ce {
  background: linear-gradient(135deg, #ff31ce, #ff3167);
}
Colored shadow
.shadow-ff31ce {
  box-shadow: 0 8px 24px rgb(255 49 206 / 0.35);
}

Shocking Pink
#ff31ce  rgb(255, 49, 206)  hsl(314, 100%, 60%)  Shocking Pink
#31ff62  rgb(49, 255, 98)  hsl(134, 100%, 60%)  Spring Green
#ceff31  rgb(206, 255, 49)  hsl(74, 100%, 60%)  Electric Lime
#31ceff  rgb(49, 206, 255)  hsl(194, 100%, 60%)  Deep Sky Blue