#cd1b7e ≈ Medium Violet Red
#cd1b7e is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 80.39% red, 10.59% green and 49.41% blue; printed in CMYK it uses 0% cyan, 86.83% magenta, 38.54% yellow and 19.61% black. Its hue angle is 326.63°, with 76.72% saturation and 45.49% 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.18:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 2.7.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc3366 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1527 |
Shades
#cd1b7e mixed progressively with black.
Tints
#cd1b7e mixed progressively with white.
Tones
#cd1b7e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cd1b7e {
color: #cd1b7e;
}
.bg-cd1b7e {
background-color: #cd1b7e;
color: #ffffff;
}
.border-cd1b7e {
border: 2px solid #cd1b7e;
}
:root {
--color-primary: #cd1b7e;
--color-primary-rgb: 205 27 126;
--color-primary-hsl: 327 77% 45%;
}
.gradient-cd1b7e {
background: linear-gradient(135deg, #cd1b7e, #cd1b25);
}
.shadow-cd1b7e {
box-shadow: 0 8px 24px rgb(205 27 126 / 0.35);
}
Medium Violet Red
#cd1b7e rgb(205, 27, 126) hsl(327, 77%, 45%) Medium Violet Red
#1bcd6a rgb(27, 205, 106) hsl(147, 77%, 45%) Emerald
#7ecd1b rgb(126, 205, 27) hsl(87, 77%, 45%) Yellow Green
#1b7ecd rgb(27, 126, 205) hsl(207, 77%, 45%) Tufts Blue