#cd197e ≈ Medium Violet Red
#cd197e 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 49.41% blue; printed in CMYK it uses 0% cyan, 87.8% magenta, 38.54% yellow and 19.61% black. Its hue angle is 326.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.2:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 2.6.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc0066 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1518 |
Shades
#cd197e mixed progressively with black.
Tints
#cd197e mixed progressively with white.
Tones
#cd197e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cd197e {
color: #cd197e;
}
.bg-cd197e {
background-color: #cd197e;
color: #ffffff;
}
.border-cd197e {
border: 2px solid #cd197e;
}
:root {
--color-primary: #cd197e;
--color-primary-rgb: 205 25 126;
--color-primary-hsl: 326 78% 45%;
}
.gradient-cd197e {
background: linear-gradient(135deg, #cd197e, #cd1924);
}
.shadow-cd197e {
box-shadow: 0 8px 24px rgb(205 25 126 / 0.35);
}
Medium Violet Red
#cd197e rgb(205, 25, 126) hsl(326, 78%, 45%) Medium Violet Red
#19cd68 rgb(25, 205, 104) hsl(146, 78%, 45%) Emerald
#7ecd19 rgb(126, 205, 25) hsl(86, 78%, 45%) Yellow Green
#197ecd rgb(25, 126, 205) hsl(206, 78%, 45%) Tufts Blue