#c51170 ≈ Medium Violet Red
#c51170 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 43.92% blue; printed in CMYK it uses 0% cyan, 91.37% magenta, 43.15% yellow and 22.75% black. Its hue angle is 328.33°, 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.69:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 4.46.
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.1344 |
Shades
#c51170 mixed progressively with black.
Tints
#c51170 mixed progressively with white.
Tones
#c51170 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c51170 {
color: #c51170;
}
.bg-c51170 {
background-color: #c51170;
color: #ffffff;
}
.border-c51170 {
border: 2px solid #c51170;
}
:root {
--color-primary: #c51170;
--color-primary-rgb: 197 17 112;
--color-primary-hsl: 328 84% 42%;
}
.gradient-c51170 {
background: linear-gradient(135deg, #c51170, #c51116);
}
.shadow-c51170 {
box-shadow: 0 8px 24px rgb(197 17 112 / 0.35);
}
Medium Violet Red
#c51170 rgb(197, 17, 112) hsl(328, 84%, 42%) Medium Violet Red
#11c566 rgb(17, 197, 102) hsl(148, 84%, 42%) Emerald
#70c511 rgb(112, 197, 17) hsl(88, 84%, 42%) Kelly Green
#1170c5 rgb(17, 112, 197) hsl(208, 84%, 42%) True Blue