#c01271 ≈ Medium Violet Red
#c01271 is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 75.29% red, 7.06% green and 44.31% blue; printed in CMYK it uses 0% cyan, 90.63% magenta, 41.15% yellow and 24.71% black. Its hue angle is 327.24°, with 82.86% saturation and 41.18% 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.89:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 4.04.
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.1283 |
Shades
#c01271 mixed progressively with black.
Tints
#c01271 mixed progressively with white.
Tones
#c01271 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c01271 {
color: #c01271;
}
.bg-c01271 {
background-color: #c01271;
color: #ffffff;
}
.border-c01271 {
border: 2px solid #c01271;
}
:root {
--color-primary: #c01271;
--color-primary-rgb: 192 18 113;
--color-primary-hsl: 327 83% 41%;
}
.gradient-c01271 {
background: linear-gradient(135deg, #c01271, #c0121a);
}
.shadow-c01271 {
box-shadow: 0 8px 24px rgb(192 18 113 / 0.35);
}
Medium Violet Red
#c01271 rgb(192, 18, 113) hsl(327, 83%, 41%) Medium Violet Red
#12c061 rgb(18, 192, 97) hsl(147, 83%, 41%) Emerald
#71c012 rgb(113, 192, 18) hsl(87, 83%, 41%) Kelly Green
#1271c0 rgb(18, 113, 192) hsl(207, 83%, 41%) French Blue