#d840bf ≈ Shocking Pink
#d840bf is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 84.71% red, 25.1% green and 74.9% blue; printed in CMYK it uses 0% cyan, 70.37% magenta, 11.57% yellow and 15.29% black. Its hue angle is 309.87°, with 66.09% saturation and 54.9% 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.41:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 5.52.
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.2203 |
Shades
#d840bf mixed progressively with black.
Tints
#d840bf mixed progressively with white.
Tones
#d840bf mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d840bf {
color: #d840bf;
}
.bg-d840bf {
background-color: #d840bf;
color: #000000;
}
.border-d840bf {
border: 2px solid #d840bf;
}
:root {
--color-primary: #d840bf;
--color-primary-rgb: 216 64 191;
--color-primary-hsl: 310 66% 55%;
}
.gradient-d840bf {
background: linear-gradient(135deg, #d840bf, #d84073);
}
.shadow-d840bf {
box-shadow: 0 8px 24px rgb(216 64 191 / 0.35);
}
Shocking Pink
#d840bf rgb(216, 64, 191) hsl(310, 66%, 55%) Shocking Pink
#40d859 rgb(64, 216, 89) hsl(130, 66%, 55%) Malachite
#bfd840 rgb(191, 216, 64) hsl(70, 66%, 55%) June Bud
#40bfd8 rgb(64, 191, 216) hsl(190, 66%, 55%) Sky Blue