#d31db2 ≈ Shocking Pink
#d31db2 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 82.75% red, 11.37% green and 69.8% blue; printed in CMYK it uses 0% cyan, 86.26% magenta, 15.64% yellow and 17.25% black. Its hue angle is 310.88°, with 75.83% saturation and 47.06% 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.59:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 8.
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.1794 |
Shades
#d31db2 mixed progressively with black.
Tints
#d31db2 mixed progressively with white.
Tones
#d31db2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d31db2 {
color: #d31db2;
}
.bg-d31db2 {
background-color: #d31db2;
color: #000000;
}
.border-d31db2 {
border: 2px solid #d31db2;
}
:root {
--color-primary: #d31db2;
--color-primary-rgb: 211 29 178;
--color-primary-hsl: 311 76% 47%;
}
.gradient-d31db2 {
background: linear-gradient(135deg, #d31db2, #d31d57);
}
.shadow-d31db2 {
box-shadow: 0 8px 24px rgb(211 29 178 / 0.35);
}
Shocking Pink
#d31db2 rgb(211, 29, 178) hsl(311, 76%, 47%) Shocking Pink
#1dd33e rgb(29, 211, 62) hsl(131, 76%, 47%) Lime Green
#b2d31d rgb(178, 211, 29) hsl(71, 76%, 47%) June Bud
#1db2d3 rgb(29, 178, 211) hsl(191, 76%, 47%) Moonstone Blue