#cc017e ≈ Medium Violet Red
#cc017e is a color from the rose family, with medium lightness and vivid saturation. In the RGB model it is made of 80% red, 0.39% green and 49.41% blue; printed in CMYK it uses 0% cyan, 99.51% magenta, 38.24% yellow and 20% black. Its hue angle is 323.05°, with 99.02% saturation and 40.2% 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.42:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 1.88.
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.1437 |
Shades
#cc017e mixed progressively with black.
Tints
#cc017e mixed progressively with white.
Tones
#cc017e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cc017e {
color: #cc017e;
}
.bg-cc017e {
background-color: #cc017e;
color: #ffffff;
}
.border-cc017e {
border: 2px solid #cc017e;
}
:root {
--color-primary: #cc017e;
--color-primary-rgb: 204 1 126;
--color-primary-hsl: 323 99% 40%;
}
.gradient-cc017e {
background: linear-gradient(135deg, #cc017e, #cc0119);
}
.shadow-cc017e {
box-shadow: 0 8px 24px rgb(204 1 126 / 0.35);
}
Medium Violet Red
#cc017e rgb(204, 1, 126) hsl(323, 99%, 40%) Medium Violet Red
#01cc4f rgb(1, 204, 79) hsl(143, 99%, 40%) Malachite
#7ecc01 rgb(126, 204, 1) hsl(83, 99%, 40%) Yellow Green
#017ecc rgb(1, 126, 204) hsl(203, 99%, 40%) Tufts Blue