#d540b8 ≈ Shocking Pink
#d540b8 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 83.53% red, 25.1% green and 72.16% blue; printed in CMYK it uses 0% cyan, 69.95% magenta, 13.62% yellow and 16.47% black. Its hue angle is 311.68°, with 63.95% saturation and 54.31% 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.25:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 5.85.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc33cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.2127 |
Shades
#d540b8 mixed progressively with black.
Tints
#d540b8 mixed progressively with white.
Tones
#d540b8 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d540b8 {
color: #d540b8;
}
.bg-d540b8 {
background-color: #d540b8;
color: #000000;
}
.border-d540b8 {
border: 2px solid #d540b8;
}
:root {
--color-primary: #d540b8;
--color-primary-rgb: 213 64 184;
--color-primary-hsl: 312 64% 54%;
}
.gradient-d540b8 {
background: linear-gradient(135deg, #d540b8, #d5406d);
}
.shadow-d540b8 {
box-shadow: 0 8px 24px rgb(213 64 184 / 0.35);
}
Shocking Pink
#d540b8 rgb(213, 64, 184) hsl(312, 64%, 54%) Shocking Pink
#40d55d rgb(64, 213, 93) hsl(132, 64%, 54%) Malachite
#b8d540 rgb(184, 213, 64) hsl(72, 64%, 54%) June Bud
#40b8d5 rgb(64, 184, 213) hsl(192, 64%, 54%) Moonstone Blue