#dc2fa4 ≈ Shocking Pink
#dc2fa4 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 86.27% red, 18.43% green and 64.31% blue; printed in CMYK it uses 0% cyan, 78.64% magenta, 25.45% yellow and 13.73% black. Its hue angle is 319.42°, with 71.19% saturation and 52.35% 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 4.99:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 6.11.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc3399 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1993 |
Shades
#dc2fa4 mixed progressively with black.
Tints
#dc2fa4 mixed progressively with white.
Tones
#dc2fa4 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dc2fa4 {
color: #dc2fa4;
}
.bg-dc2fa4 {
background-color: #dc2fa4;
color: #000000;
}
.border-dc2fa4 {
border: 2px solid #dc2fa4;
}
:root {
--color-primary: #dc2fa4;
--color-primary-rgb: 220 47 164;
--color-primary-hsl: 319 71% 52%;
}
.gradient-dc2fa4 {
background: linear-gradient(135deg, #dc2fa4, #dc2f4d);
}
.shadow-dc2fa4 {
box-shadow: 0 8px 24px rgb(220 47 164 / 0.35);
}
Shocking Pink
#dc2fa4 rgb(220, 47, 164) hsl(319, 71%, 52%) Shocking Pink
#2fdc67 rgb(47, 220, 103) hsl(139, 71%, 52%) Malachite
#a4dc2f rgb(164, 220, 47) hsl(79, 71%, 52%) Yellow Green
#2fa4dc rgb(47, 164, 220) hsl(199, 71%, 52%) Carolina Blue