#d40887 ≈ Medium Violet Red
#d40887 is a color from the rose family, with medium lightness and vivid saturation. In the RGB model it is made of 83.14% red, 3.14% green and 52.94% blue; printed in CMYK it uses 0% cyan, 96.23% magenta, 36.32% yellow and 16.86% black. Its hue angle is 322.65°, with 92.73% saturation and 43.14% lightness in HSL. It sits between warm and cool, and is often associated with romance, playfulness and affection. Designers typically use it for food and restaurant brands, sales and promotions and call-to-action buttons. White text on this color reaches a contrast ratio of 5.02:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 2.5.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc0099 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1592 |
Shades
#d40887 mixed progressively with black.
Tints
#d40887 mixed progressively with white.
Tones
#d40887 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d40887 {
color: #d40887;
}
.bg-d40887 {
background-color: #d40887;
color: #ffffff;
}
.border-d40887 {
border: 2px solid #d40887;
}
:root {
--color-primary: #d40887;
--color-primary-rgb: 212 8 135;
--color-primary-hsl: 323 93% 43%;
}
.gradient-d40887 {
background: linear-gradient(135deg, #d40887, #d40821);
}
.shadow-d40887 {
box-shadow: 0 8px 24px rgb(212 8 135 / 0.35);
}
Medium Violet Red
#d40887 rgb(212, 8, 135) hsl(323, 93%, 43%) Medium Violet Red
#08d455 rgb(8, 212, 85) hsl(143, 93%, 43%) Malachite
#87d408 rgb(135, 212, 8) hsl(83, 93%, 43%) Yellow Green
#0887d4 rgb(8, 135, 212) hsl(203, 93%, 43%) Bleu de France