#d302bb ≈ Shocking Pink
#d302bb is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 82.75% red, 0.78% green and 73.33% blue; printed in CMYK it uses 0% cyan, 99.05% magenta, 11.37% yellow and 17.25% black. Its hue angle is 306.89°, with 98.12% saturation and 41.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 call-to-action buttons. White text on this color reaches a contrast ratio of 4.67:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 8.93.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc00cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1748 |
Shades
#d302bb mixed progressively with black.
Tints
#d302bb mixed progressively with white.
Tones
#d302bb mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d302bb {
color: #d302bb;
}
.bg-d302bb {
background-color: #d302bb;
color: #ffffff;
}
.border-d302bb {
border: 2px solid #d302bb;
}
:root {
--color-primary: #d302bb;
--color-primary-rgb: 211 2 187;
--color-primary-hsl: 307 98% 42%;
}
.gradient-d302bb {
background: linear-gradient(135deg, #d302bb, #d30252);
}
.shadow-d302bb {
box-shadow: 0 8px 24px rgb(211 2 187 / 0.35);
}
Shocking Pink
#d302bb rgb(211, 2, 187) hsl(307, 98%, 42%) Shocking Pink
#02d31a rgb(2, 211, 26) hsl(127, 98%, 42%) Lime Green
#bbd302 rgb(187, 211, 2) hsl(67, 98%, 42%) Pear
#02bbd3 rgb(2, 187, 211) hsl(187, 98%, 42%) Dark Turquoise