#cf298e ≈ Medium Violet Red
#cf298e is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 81.18% red, 16.08% green and 55.69% blue; printed in CMYK it uses 0% cyan, 80.19% magenta, 31.4% yellow and 18.82% black. Its hue angle is 323.49°, with 66.94% saturation and 48.63% 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 4.82:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 3.16.
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.168 |
Shades
#cf298e mixed progressively with black.
Tints
#cf298e mixed progressively with white.
Tones
#cf298e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cf298e {
color: #cf298e;
}
.bg-cf298e {
background-color: #cf298e;
color: #ffffff;
}
.border-cf298e {
border: 2px solid #cf298e;
}
:root {
--color-primary: #cf298e;
--color-primary-rgb: 207 41 142;
--color-primary-hsl: 323 67% 49%;
}
.gradient-cf298e {
background: linear-gradient(135deg, #cf298e, #cf293b);
}
.shadow-cf298e {
box-shadow: 0 8px 24px rgb(207 41 142 / 0.35);
}
Medium Violet Red
#cf298e rgb(207, 41, 142) hsl(323, 67%, 49%) Medium Violet Red
#29cf6a rgb(41, 207, 106) hsl(143, 67%, 49%) Emerald
#8ecf29 rgb(142, 207, 41) hsl(83, 67%, 49%) Yellow Green
#298ecf rgb(41, 142, 207) hsl(203, 67%, 49%) Bleu de France