#c2017b ≈ Medium Violet Red
#c2017b is a color from the rose family, with low lightness and vivid saturation. In the RGB model it is made of 76.08% red, 0.39% green and 48.24% blue; printed in CMYK it uses 0% cyan, 99.48% magenta, 36.6% yellow and 23.92% black. Its hue angle is 322.07°, with 98.97% saturation and 38.24% 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.86:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 2.25.
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.1292 |
Shades
#c2017b mixed progressively with black.
Tints
#c2017b mixed progressively with white.
Tones
#c2017b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c2017b {
color: #c2017b;
}
.bg-c2017b {
background-color: #c2017b;
color: #ffffff;
}
.border-c2017b {
border: 2px solid #c2017b;
}
:root {
--color-primary: #c2017b;
--color-primary-rgb: 194 1 123;
--color-primary-hsl: 322 99% 38%;
}
.gradient-c2017b {
background: linear-gradient(135deg, #c2017b, #c2011b);
}
.shadow-c2017b {
box-shadow: 0 8px 24px rgb(194 1 123 / 0.35);
}
Medium Violet Red
#c2017b rgb(194, 1, 123) hsl(322, 99%, 38%) Medium Violet Red
#01c248 rgb(1, 194, 72) hsl(142, 99%, 38%) Lime Green
#7bc201 rgb(123, 194, 1) hsl(82, 99%, 38%) Yellow Green
#017bc2 rgb(1, 123, 194) hsl(202, 99%, 38%) French Blue