#cf197d ≈ Medium Violet Red
#cf197d is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 81.18% red, 9.8% green and 49.02% blue; printed in CMYK it uses 0% cyan, 87.92% magenta, 39.61% yellow and 18.82% black. Its hue angle is 327.03°, with 78.45% 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.14:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 3.18.
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.1544 |
Shades
#cf197d mixed progressively with black.
Tints
#cf197d mixed progressively with white.
Tones
#cf197d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cf197d {
color: #cf197d;
}
.bg-cf197d {
background-color: #cf197d;
color: #ffffff;
}
.border-cf197d {
border: 2px solid #cf197d;
}
:root {
--color-primary: #cf197d;
--color-primary-rgb: 207 25 125;
--color-primary-hsl: 327 78% 45%;
}
.gradient-cf197d {
background: linear-gradient(135deg, #cf197d, #cf1922);
}
.shadow-cf197d {
box-shadow: 0 8px 24px rgb(207 25 125 / 0.35);
}
Medium Violet Red
#cf197d rgb(207, 25, 125) hsl(327, 78%, 45%) Medium Violet Red
#19cf6b rgb(25, 207, 107) hsl(147, 78%, 45%) Emerald
#7dcf19 rgb(125, 207, 25) hsl(87, 78%, 45%) Yellow Green
#197dcf rgb(25, 125, 207) hsl(207, 78%, 45%) Tufts Blue