#DF05B2

#df05b2 ≈ Shocking Pink

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

#df05b2 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.96% green and 69.8% blue; printed in CMYK it uses 0% cyan, 97.76% magenta, 20.18% yellow and 12.55% black. Its hue angle is 312.39°, with 95.61% saturation and 44.71% 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.8:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 6.24.

Description generated from the measured properties of this color.

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

Readable text 4.37:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.8:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #797979 ≈ 0.003% of males
Achromatomaly #ab5f93 ≈ 0.001% of males
Protanopia #2a65b6 ≈ 1.01% of males
Deuteranopia #7383ae ≈ 1.27% of males
Tritanopia #ed1868 ≈ 0.0001% of males
Protanomaly #974fb4 ≈ 1.08% of males
Deuteranomaly #a968b0 ≈ 4.63% of males
Tritanomaly #e8128c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Shocking Pink
#df05b2  rgb(223, 5, 178)  hsl(312, 96%, 45%)  Shocking Pink
#05df32  rgb(5, 223, 50)  hsl(132, 96%, 45%)  Malachite
#b2df05  rgb(178, 223, 5)  hsl(72, 96%, 45%)  Pear
#05b2df  rgb(5, 178, 223)  hsl(192, 96%, 45%)  Deep Sky Blue