#FF31C8

#ff31c8 ≈ Shocking Pink

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

#ff31c8 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 78.43% blue; printed in CMYK it uses 0% cyan, 80.78% magenta, 21.57% yellow and 0% black. Its hue angle is 316.02°, 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.53:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 2.51.

Description generated from the measured properties of this color.

Conversions of #ff31c8 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.2763

Readable text 3.22:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.53:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #8f8f8f ≈ 0.003% of males
Achromatomaly #c675a9 ≈ 0.001% of males
Protanopia #497acc ≈ 1.01% of males
Deuteranopia #8c9bc4 ≈ 1.27% of males
Tritanopia #ff357c ≈ 0.0001% of males
Protanomaly #b165ca ≈ 1.08% of males
Deuteranomaly #c57ec5 ≈ 4.63% of males
Tritanomaly #ff33a0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Shocking Pink
#ff31c8  rgb(255, 49, 200)  hsl(316, 100%, 60%)  Shocking Pink
#31ff68  rgb(49, 255, 104)  hsl(136, 100%, 60%)  Spring Green
#c8ff31  rgb(200, 255, 49)  hsl(76, 100%, 60%)  Electric Lime
#31c8ff  rgb(49, 200, 255)  hsl(196, 100%, 60%)  Deep Sky Blue