#dc0cab ≈ Shocking Pink
#dc0cab is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 86.27% red, 4.71% green and 67.06% blue; printed in CMYK it uses 0% cyan, 94.55% magenta, 22.27% yellow and 13.73% black. Its hue angle is 314.13°, with 89.66% saturation and 45.49% 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.68:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 6.93.
Description generated from the measured properties of this color.
| 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 luminance | 0.1842 |
Shades
#dc0cab mixed progressively with black.
Tints
#dc0cab mixed progressively with white.
Tones
#dc0cab mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dc0cab {
color: #dc0cab;
}
.bg-dc0cab {
background-color: #dc0cab;
color: #000000;
}
.border-dc0cab {
border: 2px solid #dc0cab;
}
:root {
--color-primary: #dc0cab;
--color-primary-rgb: 220 12 171;
--color-primary-hsl: 314 90% 45%;
}
.gradient-dc0cab {
background: linear-gradient(135deg, #dc0cab, #dc0c43);
}
.shadow-dc0cab {
box-shadow: 0 8px 24px rgb(220 12 171 / 0.35);
}
Shocking Pink
#dc0cab rgb(220, 12, 171) hsl(314, 90%, 45%) Shocking Pink
#0cdc3d rgb(12, 220, 61) hsl(134, 90%, 45%) Malachite
#abdc0c rgb(171, 220, 12) hsl(74, 90%, 45%) Yellow Green
#0cabdc rgb(12, 171, 220) hsl(194, 90%, 45%) Deep Sky Blue