#DF18CD

#df18cd ≈ Shocking Pink

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

#df18cd is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 87.45% red, 9.41% green and 80.39% blue; printed in CMYK it uses 0% cyan, 89.24% magenta, 8.07% yellow and 12.55% black. Its hue angle is 305.43°, with 80.57% saturation and 48.43% 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 5.15:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 6.53.

Description generated from the measured properties of this color.

Conversions of #df18cd 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.2075

Readable text 4.08:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.15:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7e7e7e ≈ 0.003% of males
Achromatomaly #ad64a3 ≈ 0.001% of males
Protanopia #006dd1 ≈ 1.01% of males
Deuteranopia #6887c9 ≈ 1.27% of males
Tritanopia #e9397a ≈ 0.0001% of males
Protanomaly #9357d0 ≈ 1.08% of males
Deuteranomaly #a66ccb ≈ 4.63% of males
Tritanomaly #e52fa2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-df18cd {
  color: #df18cd;
}
Background
.bg-df18cd {
  background-color: #df18cd;
  color: #000000;
}
Border
.border-df18cd {
  border: 2px solid #df18cd;
}
CSS variables
:root {
  --color-primary: #df18cd;
  --color-primary-rgb: 223 24 205;
  --color-primary-hsl: 305 81% 48%;
}
Gradient
.gradient-df18cd {
  background: linear-gradient(135deg, #df18cd, #df1869);
}
Colored shadow
.shadow-df18cd {
  box-shadow: 0 8px 24px rgb(223 24 205 / 0.35);
}

Shocking Pink
#df18cd  rgb(223, 24, 205)  hsl(305, 81%, 48%)  Shocking Pink
#18df2a  rgb(24, 223, 42)  hsl(125, 81%, 48%)  Malachite
#cddf18  rgb(205, 223, 24)  hsl(65, 81%, 48%)  Pear
#18cddf  rgb(24, 205, 223)  hsl(185, 81%, 48%)  Dark Turquoise