#c51172 ≈ Medium Violet Red
#c51172 is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 77.25% red, 6.67% green and 44.71% blue; printed in CMYK it uses 0% cyan, 91.37% magenta, 42.13% yellow and 22.75% black. Its hue angle is 327.67°, with 84.11% saturation and 41.96% 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.68:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 4.
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.1349 |
Shades
#c51172 mixed progressively with black.
Tints
#c51172 mixed progressively with white.
Tones
#c51172 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c51172 {
color: #c51172;
}
.bg-c51172 {
background-color: #c51172;
color: #ffffff;
}
.border-c51172 {
border: 2px solid #c51172;
}
:root {
--color-primary: #c51172;
--color-primary-rgb: 197 17 114;
--color-primary-hsl: 328 84% 42%;
}
.gradient-c51172 {
background: linear-gradient(135deg, #c51172, #c51118);
}
.shadow-c51172 {
box-shadow: 0 8px 24px rgb(197 17 114 / 0.35);
}
Medium Violet Red
#c51172 rgb(197, 17, 114) hsl(328, 84%, 42%) Medium Violet Red
#11c564 rgb(17, 197, 100) hsl(148, 84%, 42%) Emerald
#72c511 rgb(114, 197, 17) hsl(88, 84%, 42%) Kelly Green
#1172c5 rgb(17, 114, 197) hsl(208, 84%, 42%) True Blue