#FF31BF

#ff31bf ≈ Shocking Pink

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

#ff31bf 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 74.9% blue; printed in CMYK it uses 0% cyan, 80.78% magenta, 25.1% yellow and 0% black. Its hue angle is 318.64°, 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.44:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 2.47.

Description generated from the measured properties of this color.

Conversions of #ff31bf 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.2722

Readable text 3.26:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.44:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #8e8e8e ≈ 0.003% of males
Achromatomaly #c674a4 ≈ 0.001% of males
Protanopia #4f79c3 ≈ 1.01% of males
Deuteranopia #8f9abb ≈ 1.27% of males
Tritanopia #ff2e77 ≈ 0.0001% of males
Protanomaly #b264c1 ≈ 1.08% of males
Deuteranomaly #c67ebc ≈ 4.63% of males
Tritanomaly #ff2f99 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Shocking Pink
#ff31bf  rgb(255, 49, 191)  hsl(319, 100%, 60%)  Shocking Pink
#31ff71  rgb(49, 255, 113)  hsl(139, 100%, 60%)  Spring Green
#bfff31  rgb(191, 255, 49)  hsl(79, 100%, 60%)  Green Yellow
#31bfff  rgb(49, 191, 255)  hsl(199, 100%, 60%)  Deep Sky Blue