#c2126e ≈ Medium Violet Red
#c2126e is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 76.08% red, 7.06% green and 43.14% blue; printed in CMYK it uses 0% cyan, 90.72% magenta, 43.3% yellow and 23.92% black. Its hue angle is 328.64°, with 83.02% saturation and 41.57% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 5.82:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 4.77.
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.1303 |
Shades
#c2126e mixed progressively with black.
Tints
#c2126e mixed progressively with white.
Tones
#c2126e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c2126e {
color: #c2126e;
}
.bg-c2126e {
background-color: #c2126e;
color: #ffffff;
}
.border-c2126e {
border: 2px solid #c2126e;
}
:root {
--color-primary: #c2126e;
--color-primary-rgb: 194 18 110;
--color-primary-hsl: 329 83% 42%;
}
.gradient-c2126e {
background: linear-gradient(135deg, #c2126e, #c21216);
}
.shadow-c2126e {
box-shadow: 0 8px 24px rgb(194 18 110 / 0.35);
}
Medium Violet Red
#c2126e rgb(194, 18, 110) hsl(329, 83%, 42%) Medium Violet Red
#12c266 rgb(18, 194, 102) hsl(149, 83%, 42%) Emerald
#6ec212 rgb(110, 194, 18) hsl(89, 83%, 42%) Kelly Green
#126ec2 rgb(18, 110, 194) hsl(209, 83%, 42%) True Blue