#d731af ≈ Shocking Pink
#d731af is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 84.31% red, 19.22% green and 68.63% blue; printed in CMYK it uses 0% cyan, 77.21% magenta, 18.6% yellow and 15.69% black. Its hue angle is 314.46°, with 67.48% saturation and 51.76% 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.95:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 6.17.
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.1974 |
Shades
#d731af mixed progressively with black.
Tints
#d731af mixed progressively with white.
Tones
#d731af mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d731af {
color: #d731af;
}
.bg-d731af {
background-color: #d731af;
color: #000000;
}
.border-d731af {
border: 2px solid #d731af;
}
:root {
--color-primary: #d731af;
--color-primary-rgb: 215 49 175;
--color-primary-hsl: 314 67% 52%;
}
.gradient-d731af {
background: linear-gradient(135deg, #d731af, #d7315c);
}
.shadow-d731af {
box-shadow: 0 8px 24px rgb(215 49 175 / 0.35);
}
Shocking Pink
#d731af rgb(215, 49, 175) hsl(314, 67%, 52%) Shocking Pink
#31d759 rgb(49, 215, 89) hsl(134, 67%, 52%) Malachite
#afd731 rgb(175, 215, 49) hsl(74, 67%, 52%) June Bud
#31afd7 rgb(49, 175, 215) hsl(194, 67%, 52%) Moonstone Blue