#c80271 ≈ Medium Violet Red
#c80271 is a color from the rose family, with low lightness and vivid saturation. In the RGB model it is made of 78.43% red, 0.78% green and 44.31% blue; printed in CMYK it uses 0% cyan, 99% magenta, 43.5% yellow and 21.57% black. Its hue angle is 326.36°, with 98.02% saturation and 39.61% 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.67:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 4.3.
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.1352 |
Shades
#c80271 mixed progressively with black.
Tints
#c80271 mixed progressively with white.
Tones
#c80271 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c80271 {
color: #c80271;
}
.bg-c80271 {
background-color: #c80271;
color: #ffffff;
}
.border-c80271 {
border: 2px solid #c80271;
}
:root {
--color-primary: #c80271;
--color-primary-rgb: 200 2 113;
--color-primary-hsl: 326 98% 40%;
}
.gradient-c80271 {
background: linear-gradient(135deg, #c80271, #c8020e);
}
.shadow-c80271 {
box-shadow: 0 8px 24px rgb(200 2 113 / 0.35);
}
Medium Violet Red
#c80271 rgb(200, 2, 113) hsl(326, 98%, 40%) Medium Violet Red
#02c859 rgb(2, 200, 89) hsl(146, 98%, 40%) Emerald
#71c802 rgb(113, 200, 2) hsl(86, 98%, 40%) Yellow Green
#0271c8 rgb(2, 113, 200) hsl(206, 98%, 40%) True Blue