#cd1987 ≈ Medium Violet Red
#cd1987 is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 80.39% red, 9.8% green and 52.94% blue; printed in CMYK it uses 0% cyan, 87.8% magenta, 34.15% yellow and 19.61% black. Its hue angle is 323.33°, with 78.26% saturation and 45.1% 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 brand accents. White text on this color reaches a contrast ratio of 5.14:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 1.47.
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.1542 |
Shades
#cd1987 mixed progressively with black.
Tints
#cd1987 mixed progressively with white.
Tones
#cd1987 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cd1987 {
color: #cd1987;
}
.bg-cd1987 {
background-color: #cd1987;
color: #ffffff;
}
.border-cd1987 {
border: 2px solid #cd1987;
}
:root {
--color-primary: #cd1987;
--color-primary-rgb: 205 25 135;
--color-primary-hsl: 323 78% 45%;
}
.gradient-cd1987 {
background: linear-gradient(135deg, #cd1987, #cd192d);
}
.shadow-cd1987 {
box-shadow: 0 8px 24px rgb(205 25 135 / 0.35);
}
Medium Violet Red
#cd1987 rgb(205, 25, 135) hsl(323, 78%, 45%) Medium Violet Red
#19cd5f rgb(25, 205, 95) hsl(143, 78%, 45%) Malachite
#87cd19 rgb(135, 205, 25) hsl(83, 78%, 45%) Yellow Green
#1987cd rgb(25, 135, 205) hsl(203, 78%, 45%) Steel Blue