#DF31BF

#df31bf ≈ Shocking Pink

  • magenta
  • Lightness: medium
  • Saturation: strong
  • Balanced

#df31bf is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 87.45% red, 19.22% green and 74.9% blue; printed in CMYK it uses 0% cyan, 78.03% magenta, 14.35% yellow and 12.55% black. Its hue angle is 311.03°, with 73.11% 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 brand accents. Black text on this color reaches a contrast ratio of 5.33:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 4.68.

Description generated from the measured properties of this color.

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

Readable text 3.94:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.33:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #808080 ≈ 0.003% of males
Achromatomaly #ae699d ≈ 0.001% of males
Protanopia #376fc3 ≈ 1.01% of males
Deuteranopia #7589bb ≈ 1.27% of males
Tritanopia #eb3e77 ≈ 0.0001% of males
Protanomaly #995dc1 ≈ 1.08% of males
Deuteranomaly #aa70bd ≈ 4.63% of males
Tritanomaly #e63999 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-df31bf {
  color: #df31bf;
}
Background
.bg-df31bf {
  background-color: #df31bf;
  color: #000000;
}
Border
.border-df31bf {
  border: 2px solid #df31bf;
}
CSS variables
:root {
  --color-primary: #df31bf;
  --color-primary-rgb: 223 49 191;
  --color-primary-hsl: 311 73% 53%;
}
Gradient
.gradient-df31bf {
  background: linear-gradient(135deg, #df31bf, #df3168);
}
Colored shadow
.shadow-df31bf {
  box-shadow: 0 8px 24px rgb(223 49 191 / 0.35);
}

Shocking Pink
#df31bf  rgb(223, 49, 191)  hsl(311, 73%, 53%)  Shocking Pink
#31df51  rgb(49, 223, 81)  hsl(131, 73%, 53%)  Malachite
#bfdf31  rgb(191, 223, 49)  hsl(71, 73%, 53%)  Pear
#31bfdf  rgb(49, 191, 223)  hsl(191, 73%, 53%)  Sky Blue