#FD31CB

#fd31cb ≈ Shocking Pink

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

#fd31cb is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 99.22% red, 19.22% green and 79.61% blue; printed in CMYK it uses 0% cyan, 80.63% magenta, 19.76% yellow and 0.78% black. Its hue angle is 314.71°, with 98.08% saturation and 59.22% 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.48:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 2.55.

Description generated from the measured properties of this color.

Conversions of #fd31cb 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.2739

Readable text 3.24:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.48:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #8f8f8f ≈ 0.003% of males
Achromatomaly #c575aa ≈ 0.001% of males
Protanopia #457acf ≈ 1.01% of males
Deuteranopia #899ac7 ≈ 1.27% of males
Tritanopia #ff387e ≈ 0.0001% of males
Protanomaly #af65cd ≈ 1.08% of males
Deuteranomaly #c37dc8 ≈ 4.63% of males
Tritanomaly #ff35a2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-fd31cb {
  color: #fd31cb;
}
Background
.bg-fd31cb {
  background-color: #fd31cb;
  color: #000000;
}
Border
.border-fd31cb {
  border: 2px solid #fd31cb;
}
CSS variables
:root {
  --color-primary: #fd31cb;
  --color-primary-rgb: 253 49 203;
  --color-primary-hsl: 315 98% 59%;
}
Gradient
.gradient-fd31cb {
  background: linear-gradient(135deg, #fd31cb, #fd3165);
}
Colored shadow
.shadow-fd31cb {
  box-shadow: 0 8px 24px rgb(253 49 203 / 0.35);
}

Shocking Pink
#fd31cb  rgb(253, 49, 203)  hsl(315, 98%, 59%)  Shocking Pink
#31fd63  rgb(49, 253, 99)  hsl(135, 98%, 59%)  Spring Green
#cbfd31  rgb(203, 253, 49)  hsl(75, 98%, 59%)  Electric Lime
#31cbfd  rgb(49, 203, 253)  hsl(195, 98%, 59%)  Deep Sky Blue