#DF07BA

#df07ba ≈ Shocking Pink

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

#df07ba is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 87.45% red, 2.75% green and 72.94% blue; printed in CMYK it uses 0% cyan, 96.86% magenta, 16.59% yellow and 12.55% black. Its hue angle is 310.28°, with 93.91% saturation and 45.1% 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.88:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 6.15.

Description generated from the measured properties of this color.

Conversions of #df07ba 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.1939

Readable text 4.31:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.88:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7a7a7a ≈ 0.003% of males
Achromatomaly #ac6098 ≈ 0.001% of males
Protanopia #1f67be ≈ 1.01% of males
Deuteranopia #7084b6 ≈ 1.27% of males
Tritanopia #ec236d ≈ 0.0001% of males
Protanomaly #9651bc ≈ 1.08% of males
Deuteranomaly #a868b8 ≈ 4.63% of males
Tritanomaly #e71b92 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-df07ba {
  color: #df07ba;
}
Background
.bg-df07ba {
  background-color: #df07ba;
  color: #000000;
}
Border
.border-df07ba {
  border: 2px solid #df07ba;
}
CSS variables
:root {
  --color-primary: #df07ba;
  --color-primary-rgb: 223 7 186;
  --color-primary-hsl: 310 94% 45%;
}
Gradient
.gradient-df07ba {
  background: linear-gradient(135deg, #df07ba, #df074e);
}
Colored shadow
.shadow-df07ba {
  box-shadow: 0 8px 24px rgb(223 7 186 / 0.35);
}

Shocking Pink
#df07ba  rgb(223, 7, 186)  hsl(310, 94%, 45%)  Shocking Pink
#07df2c  rgb(7, 223, 44)  hsl(130, 94%, 45%)  Malachite
#badf07  rgb(186, 223, 7)  hsl(70, 94%, 45%)  Pear
#07badf  rgb(7, 186, 223)  hsl(190, 94%, 45%)  Deep Sky Blue