#cd1f87 ≈ Medium Violet Red
#cd1f87 is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 80.39% red, 12.16% green and 52.94% blue; printed in CMYK it uses 0% cyan, 84.88% magenta, 34.15% yellow and 19.61% black. Its hue angle is 324.14°, with 73.73% saturation and 46.27% 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.07:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 1.86.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc3399 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1571 |
Shades
#cd1f87 mixed progressively with black.
Tints
#cd1f87 mixed progressively with white.
Tones
#cd1f87 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cd1f87 {
color: #cd1f87;
}
.bg-cd1f87 {
background-color: #cd1f87;
color: #ffffff;
}
.border-cd1f87 {
border: 2px solid #cd1f87;
}
:root {
--color-primary: #cd1f87;
--color-primary-rgb: 205 31 135;
--color-primary-hsl: 324 74% 46%;
}
.gradient-cd1f87 {
background: linear-gradient(135deg, #cd1f87, #cd1f30);
}
.shadow-cd1f87 {
box-shadow: 0 8px 24px rgb(205 31 135 / 0.35);
}
Medium Violet Red
#cd1f87 rgb(205, 31, 135) hsl(324, 74%, 46%) Medium Violet Red
#1fcd65 rgb(31, 205, 101) hsl(144, 74%, 46%) Emerald
#87cd1f rgb(135, 205, 31) hsl(84, 74%, 46%) Yellow Green
#1f87cd rgb(31, 135, 205) hsl(204, 74%, 46%) Steel Blue