#df31aa ≈ Shocking Pink
#df31aa is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 87.45% red, 19.22% green and 66.67% blue; printed in CMYK it uses 0% cyan, 78.03% magenta, 23.77% yellow and 12.55% black. Its hue angle is 318.28°, with 73.11% saturation and 53.33% 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.16:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 5.09.
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.2079 |
Shades
#df31aa mixed progressively with black.
Tints
#df31aa mixed progressively with white.
Tones
#df31aa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-df31aa {
color: #df31aa;
}
.bg-df31aa {
background-color: #df31aa;
color: #000000;
}
.border-df31aa {
border: 2px solid #df31aa;
}
:root {
--color-primary: #df31aa;
--color-primary-rgb: 223 49 170;
--color-primary-hsl: 318 73% 53%;
}
.gradient-df31aa {
background: linear-gradient(135deg, #df31aa, #df3153);
}
.shadow-df31aa {
box-shadow: 0 8px 24px rgb(223 49 170 / 0.35);
}
Shocking Pink
#df31aa rgb(223, 49, 170) hsl(318, 73%, 53%) Shocking Pink
#31df66 rgb(49, 223, 102) hsl(138, 73%, 53%) Malachite
#aadf31 rgb(170, 223, 49) hsl(78, 73%, 53%) Inchworm
#31aadf rgb(49, 170, 223) hsl(198, 73%, 53%) Carolina Blue