#DF06AB

#df06ab ≈ Shocking Pink

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

#df06ab 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.35% green and 67.06% blue; printed in CMYK it uses 0% cyan, 97.31% magenta, 23.32% yellow and 12.55% black. Its hue angle is 314.38°, with 94.76% saturation and 44.9% 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.75:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 6.47.

Description generated from the measured properties of this color.

Conversions of #df06ab 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.1876

Readable text 4.42:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.75:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #787878 ≈ 0.003% of males
Achromatomaly #ab5f8f ≈ 0.001% of males
Protanopia #3164ae ≈ 1.01% of males
Deuteranopia #7683a7 ≈ 1.27% of males
Tritanopia #ee0d64 ≈ 0.0001% of males
Protanomaly #984ead ≈ 1.08% of males
Deuteranomaly #aa68a9 ≈ 4.63% of males
Tritanomaly #e80a86 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Shocking Pink
#df06ab  rgb(223, 6, 171)  hsl(314, 95%, 45%)  Shocking Pink
#06df3a  rgb(6, 223, 58)  hsl(134, 95%, 45%)  Malachite
#abdf06  rgb(171, 223, 6)  hsl(74, 95%, 45%)  Yellow Green
#06abdf  rgb(6, 171, 223)  hsl(194, 95%, 45%)  Deep Sky Blue