#DF0FA6

#df0fa6 ≈ Shocking Pink

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

#df0fa6 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 87.45% red, 5.88% green and 65.1% blue; printed in CMYK it uses 0% cyan, 93.27% magenta, 25.56% yellow and 12.55% black. Its hue angle is 316.44°, with 87.39% saturation and 46.67% 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.76:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 6.58.

Description generated from the measured properties of this color.

Conversions of #df0fa6 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.1878

Readable text 4.41:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.76:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #787878 ≈ 0.003% of males
Achromatomaly #ab5f8d ≈ 0.001% of males
Protanopia #3863a9 ≈ 1.01% of males
Deuteranopia #7883a2 ≈ 1.27% of males
Tritanopia #ee0962 ≈ 0.0001% of males
Protanomaly #994fa8 ≈ 1.08% of males
Deuteranomaly #ab68a4 ≈ 4.63% of males
Tritanomaly #e80c83 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-df0fa6 {
  color: #df0fa6;
}
Background
.bg-df0fa6 {
  background-color: #df0fa6;
  color: #000000;
}
Border
.border-df0fa6 {
  border: 2px solid #df0fa6;
}
CSS variables
:root {
  --color-primary: #df0fa6;
  --color-primary-rgb: 223 15 166;
  --color-primary-hsl: 316 87% 47%;
}
Gradient
.gradient-df0fa6 {
  background: linear-gradient(135deg, #df0fa6, #df0f3e);
}
Colored shadow
.shadow-df0fa6 {
  box-shadow: 0 8px 24px rgb(223 15 166 / 0.35);
}

Shocking Pink
#df0fa6  rgb(223, 15, 166)  hsl(316, 87%, 47%)  Shocking Pink
#0fdf48  rgb(15, 223, 72)  hsl(136, 87%, 47%)  Malachite
#a6df0f  rgb(166, 223, 15)  hsl(76, 87%, 47%)  Yellow Green
#0fa6df  rgb(15, 166, 223)  hsl(196, 87%, 47%)  Carolina Blue