#dc1fa7 ≈ Shocking Pink
#dc1fa7 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 86.27% red, 12.16% green and 65.49% blue; printed in CMYK it uses 0% cyan, 85.91% magenta, 24.09% yellow and 13.73% black. Its hue angle is 316.83°, with 75.3% saturation and 49.22% 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.8:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 6.5.
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.1899 |
Shades
#dc1fa7 mixed progressively with black.
Tints
#dc1fa7 mixed progressively with white.
Tones
#dc1fa7 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dc1fa7 {
color: #dc1fa7;
}
.bg-dc1fa7 {
background-color: #dc1fa7;
color: #000000;
}
.border-dc1fa7 {
border: 2px solid #dc1fa7;
}
:root {
--color-primary: #dc1fa7;
--color-primary-rgb: 220 31 167;
--color-primary-hsl: 317 75% 49%;
}
.gradient-dc1fa7 {
background: linear-gradient(135deg, #dc1fa7, #dc1f48);
}
.shadow-dc1fa7 {
box-shadow: 0 8px 24px rgb(220 31 167 / 0.35);
}
Shocking Pink
#dc1fa7 rgb(220, 31, 167) hsl(317, 75%, 49%) Shocking Pink
#1fdc54 rgb(31, 220, 84) hsl(137, 75%, 49%) Malachite
#a7dc1f rgb(167, 220, 31) hsl(77, 75%, 49%) Yellow Green
#1fa7dc rgb(31, 167, 220) hsl(197, 75%, 49%) Carolina Blue