#F31CB2

#f31cb2 ≈ Shocking Pink

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

#f31cb2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 95.29% red, 10.98% green and 69.8% blue; printed in CMYK it uses 0% cyan, 88.48% magenta, 26.75% yellow and 4.71% black. Its hue angle is 318.14°, with 89.96% saturation and 53.14% 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.62:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 2.36.

Description generated from the measured properties of this color.

Conversions of #f31cb2 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#ff3399
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.231

Readable text 3.74:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.62:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #848484 ≈ 0.003% of males
Achromatomaly #bb6a99 ≈ 0.001% of males
Protanopia #446eb5 ≈ 1.01% of males
Deuteranopia #8690ae ≈ 1.27% of males
Tritanopia #ff126b ≈ 0.0001% of males
Protanomaly #a858b4 ≈ 1.08% of males
Deuteranomaly #bc73af ≈ 4.63% of males
Tritanomaly #fd178d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Shocking Pink
#f31cb2  rgb(243, 28, 178)  hsl(318, 90%, 53%)  Shocking Pink
#1cf35d  rgb(28, 243, 93)  hsl(138, 90%, 53%)  Spring Green
#b2f31c  rgb(178, 243, 28)  hsl(78, 90%, 53%)  Spring Bud
#1cb2f3  rgb(28, 178, 243)  hsl(198, 90%, 53%)  Deep Sky Blue