#DF04BF

#df04bf ≈ Shocking Pink

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

#df04bf is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 87.45% red, 1.57% green and 74.9% blue; printed in CMYK it uses 0% cyan, 98.21% magenta, 14.35% yellow and 12.55% black. Its hue angle is 308.77°, with 96.48% saturation and 44.51% 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 4.91:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 6.31.

Description generated from the measured properties of this color.

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

Readable text 4.28:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.91:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7a7a7a ≈ 0.003% of males
Achromatomaly #ac609b ≈ 0.001% of males
Protanopia #1468c3 ≈ 1.01% of males
Deuteranopia #6d84bb ≈ 1.27% of males
Tritanopia #eb2770 ≈ 0.0001% of males
Protanomaly #9551c1 ≈ 1.08% of males
Deuteranomaly #a768bd ≈ 4.63% of males
Tritanomaly #e61d96 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-df04bf {
  color: #df04bf;
}
Background
.bg-df04bf {
  background-color: #df04bf;
  color: #000000;
}
Border
.border-df04bf {
  border: 2px solid #df04bf;
}
CSS variables
:root {
  --color-primary: #df04bf;
  --color-primary-rgb: 223 4 191;
  --color-primary-hsl: 309 96% 45%;
}
Gradient
.gradient-df04bf {
  background: linear-gradient(135deg, #df04bf, #df0451);
}
Colored shadow
.shadow-df04bf {
  box-shadow: 0 8px 24px rgb(223 4 191 / 0.35);
}

Shocking Pink
#df04bf  rgb(223, 4, 191)  hsl(309, 96%, 45%)  Shocking Pink
#04df24  rgb(4, 223, 36)  hsl(129, 96%, 45%)  Malachite
#bfdf04  rgb(191, 223, 4)  hsl(69, 96%, 45%)  Pear
#04bfdf  rgb(4, 191, 223)  hsl(189, 96%, 45%)  Sky Blue