#c4298a ≈ Medium Violet Red
#c4298a is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 76.86% red, 16.08% green and 54.12% blue; printed in CMYK it uses 0% cyan, 79.08% magenta, 29.59% yellow and 23.14% black. Its hue angle is 322.45°, with 65.4% saturation and 46.47% 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.21:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 1.68.
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.1516 |
Shades
#c4298a mixed progressively with black.
Tints
#c4298a mixed progressively with white.
Tones
#c4298a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c4298a {
color: #c4298a;
}
.bg-c4298a {
background-color: #c4298a;
color: #ffffff;
}
.border-c4298a {
border: 2px solid #c4298a;
}
:root {
--color-primary: #c4298a;
--color-primary-rgb: 196 41 138;
--color-primary-hsl: 322 65% 46%;
}
.gradient-c4298a {
background: linear-gradient(135deg, #c4298a, #c4293d);
}
.shadow-c4298a {
box-shadow: 0 8px 24px rgb(196 41 138 / 0.35);
}
Medium Violet Red
#c4298a rgb(196, 41, 138) hsl(322, 65%, 46%) Medium Violet Red
#29c463 rgb(41, 196, 99) hsl(142, 65%, 46%) Emerald
#8ac429 rgb(138, 196, 41) hsl(82, 65%, 46%) Yellow Green
#298ac4 rgb(41, 138, 196) hsl(202, 65%, 46%) Steel Blue