#d2298a ≈ Medium Violet Red
#d2298a is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 82.35% red, 16.08% green and 54.12% blue; printed in CMYK it uses 0% cyan, 80.48% magenta, 34.29% yellow and 17.65% black. Its hue angle is 325.56°, with 67.33% saturation and 49.22% 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.75:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 3.69.
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.1712 |
Shades
#d2298a mixed progressively with black.
Tints
#d2298a mixed progressively with white.
Tones
#d2298a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d2298a {
color: #d2298a;
}
.bg-d2298a {
background-color: #d2298a;
color: #ffffff;
}
.border-d2298a {
border: 2px solid #d2298a;
}
:root {
--color-primary: #d2298a;
--color-primary-rgb: 210 41 138;
--color-primary-hsl: 326 67% 49%;
}
.gradient-d2298a {
background: linear-gradient(135deg, #d2298a, #d22936);
}
.shadow-d2298a {
box-shadow: 0 8px 24px rgb(210 41 138 / 0.35);
}
Medium Violet Red
#d2298a rgb(210, 41, 138) hsl(326, 67%, 49%) Medium Violet Red
#29d271 rgb(41, 210, 113) hsl(146, 67%, 49%) Emerald
#8ad229 rgb(138, 210, 41) hsl(86, 67%, 49%) Yellow Green
#298ad2 rgb(41, 138, 210) hsl(206, 67%, 49%) Bleu de France