#F31DCD

#f31dcd ≈ Shocking Pink

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

#f31dcd is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 95.29% red, 11.37% green and 80.39% blue; printed in CMYK it uses 0% cyan, 88.07% magenta, 15.64% yellow and 4.71% black. Its hue angle is 310.65°, with 89.92% saturation and 53.33% 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 5.87:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 2.85.

Description generated from the measured properties of this color.

Conversions of #f31dcd 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.2434

Readable text 3.58:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.87:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #878787 ≈ 0.003% of males
Achromatomaly #bc6ca8 ≈ 0.001% of males
Protanopia #2b73d1 ≈ 1.01% of males
Deuteranopia #7c92c9 ≈ 1.27% of males
Tritanopia #ff317b ≈ 0.0001% of males
Protanomaly #a45dcf ≈ 1.08% of males
Deuteranomaly #b875ca ≈ 4.63% of males
Tritanomaly #fb2ba2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f31dcd {
  color: #f31dcd;
}
Background
.bg-f31dcd {
  background-color: #f31dcd;
  color: #000000;
}
Border
.border-f31dcd {
  border: 2px solid #f31dcd;
}
CSS variables
:root {
  --color-primary: #f31dcd;
  --color-primary-rgb: 243 29 205;
  --color-primary-hsl: 311 90% 53%;
}
Gradient
.gradient-f31dcd {
  background: linear-gradient(135deg, #f31dcd, #f31d62);
}
Colored shadow
.shadow-f31dcd {
  box-shadow: 0 8px 24px rgb(243 29 205 / 0.35);
}

Shocking Pink
#f31dcd  rgb(243, 29, 205)  hsl(311, 90%, 53%)  Shocking Pink
#1df343  rgb(29, 243, 67)  hsl(131, 90%, 53%)  Lime
#cdf31d  rgb(205, 243, 29)  hsl(71, 90%, 53%)  Electric Lime
#1dcdf3  rgb(29, 205, 243)  hsl(191, 90%, 53%)  Sky Blue