#c50271 ≈ Medium Violet Red
#c50271 is a color from the rose family, with low lightness and vivid saturation. In the RGB model it is made of 77.25% red, 0.78% green and 44.31% blue; printed in CMYK it uses 0% cyan, 98.98% magenta, 42.64% yellow and 22.75% black. Its hue angle is 325.85°, with 97.99% saturation and 39.02% 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.8:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 4.11.
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.1311 |
Shades
#c50271 mixed progressively with black.
Tints
#c50271 mixed progressively with white.
Tones
#c50271 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c50271 {
color: #c50271;
}
.bg-c50271 {
background-color: #c50271;
color: #ffffff;
}
.border-c50271 {
border: 2px solid #c50271;
}
:root {
--color-primary: #c50271;
--color-primary-rgb: 197 2 113;
--color-primary-hsl: 326 98% 39%;
}
.gradient-c50271 {
background: linear-gradient(135deg, #c50271, #c5020f);
}
.shadow-c50271 {
box-shadow: 0 8px 24px rgb(197 2 113 / 0.35);
}
Medium Violet Red
#c50271 rgb(197, 2, 113) hsl(326, 98%, 39%) Medium Violet Red
#02c556 rgb(2, 197, 86) hsl(146, 98%, 39%) Emerald
#71c502 rgb(113, 197, 2) hsl(86, 98%, 39%) Kelly Green
#0271c5 rgb(2, 113, 197) hsl(206, 98%, 39%) True Blue