#DF02AA

#df02aa ≈ Shocking Pink

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

#df02aa is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 87.45% red, 0.78% green and 66.67% blue; printed in CMYK it uses 0% cyan, 99.1% magenta, 23.77% yellow and 12.55% black. Its hue angle is 314.39°, with 98.22% saturation and 44.12% 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.73:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 6.61.

Description generated from the measured properties of this color.

Conversions of #df02aa 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.1863

Readable text 4.44:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.73:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #787878 ≈ 0.003% of males
Achromatomaly #ab5e8f ≈ 0.001% of males
Protanopia #3163ad ≈ 1.01% of males
Deuteranopia #7683a6 ≈ 1.27% of males
Tritanopia #ee0763 ≈ 0.0001% of males
Protanomaly #984dac ≈ 1.08% of males
Deuteranomaly #aa67a8 ≈ 4.63% of males
Tritanomaly #e80585 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-df02aa {
  color: #df02aa;
}
Background
.bg-df02aa {
  background-color: #df02aa;
  color: #000000;
}
Border
.border-df02aa {
  border: 2px solid #df02aa;
}
CSS variables
:root {
  --color-primary: #df02aa;
  --color-primary-rgb: 223 2 170;
  --color-primary-hsl: 314 98% 44%;
}
Gradient
.gradient-df02aa {
  background: linear-gradient(135deg, #df02aa, #df023c);
}
Colored shadow
.shadow-df02aa {
  box-shadow: 0 8px 24px rgb(223 2 170 / 0.35);
}

Shocking Pink
#df02aa  rgb(223, 2, 170)  hsl(314, 98%, 44%)  Shocking Pink
#02df37  rgb(2, 223, 55)  hsl(134, 98%, 44%)  Malachite
#aadf02  rgb(170, 223, 2)  hsl(74, 98%, 44%)  Yellow Green
#02aadf  rgb(2, 170, 223)  hsl(194, 98%, 44%)  Carolina Blue