#dc40cd ≈ Shocking Pink
#dc40cd is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 86.27% red, 25.1% green and 80.39% blue; printed in CMYK it uses 0% cyan, 70.91% magenta, 6.82% yellow and 13.73% black. Its hue angle is 305.77°, with 69.03% saturation and 55.69% 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 brand accents. Black text on this color reaches a contrast ratio of 5.66:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 5.84.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc33cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.2329 |
Shades
#dc40cd mixed progressively with black.
Tints
#dc40cd mixed progressively with white.
Tones
#dc40cd mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dc40cd {
color: #dc40cd;
}
.bg-dc40cd {
background-color: #dc40cd;
color: #000000;
}
.border-dc40cd {
border: 2px solid #dc40cd;
}
:root {
--color-primary: #dc40cd;
--color-primary-rgb: 220 64 205;
--color-primary-hsl: 306 69% 56%;
}
.gradient-dc40cd {
background: linear-gradient(135deg, #dc40cd, #dc407f);
}
.shadow-dc40cd {
box-shadow: 0 8px 24px rgb(220 64 205 / 0.35);
}
Shocking Pink
#dc40cd rgb(220, 64, 205) hsl(306, 69%, 56%) Shocking Pink
#40dc4f rgb(64, 220, 79) hsl(126, 69%, 56%) Malachite
#cddc40 rgb(205, 220, 64) hsl(66, 69%, 56%) Pear
#40cddc rgb(64, 205, 220) hsl(186, 69%, 56%) Dark Turquoise