#FF31DD

#ff31dd ≈ Shocking Pink

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

#ff31dd 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 86.67% blue; printed in CMYK it uses 0% cyan, 80.78% magenta, 13.33% yellow and 0% black. Its hue angle is 309.9°, 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.74:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 4.77.

Description generated from the measured properties of this color.

Conversions of #ff31dd 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.2868

Readable text 3.12:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.74:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #929292 ≈ 0.003% of males
Achromatomaly #c777b5 ≈ 0.001% of males
Protanopia #367ee1 ≈ 1.01% of males
Deuteranopia #849dd8 ≈ 1.27% of males
Tritanopia #ff4388 ≈ 0.0001% of males
Protanomaly #ae68e0 ≈ 1.08% of males
Deuteranomaly #c27fda ≈ 4.63% of males
Tritanomaly #ff3db0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Shocking Pink
#ff31dd  rgb(255, 49, 221)  hsl(310, 100%, 60%)  Shocking Pink
#31ff53  rgb(49, 255, 83)  hsl(130, 100%, 60%)  Lime
#ddff31  rgb(221, 255, 49)  hsl(70, 100%, 60%)  Chartreuse Yellow
#31ddff  rgb(49, 221, 255)  hsl(190, 100%, 60%)  Sky Blue