#cc047a ≈ Medium Violet Red
#cc047a is a color from the rose family, with medium lightness and vivid saturation. In the RGB model it is made of 80% red, 1.57% green and 47.84% blue; printed in CMYK it uses 0% cyan, 98.04% magenta, 40.2% yellow and 20% black. Its hue angle is 324.6°, with 96.15% saturation and 40.78% 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.43:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 2.73.
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.1433 |
Shades
#cc047a mixed progressively with black.
Tints
#cc047a mixed progressively with white.
Tones
#cc047a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cc047a {
color: #cc047a;
}
.bg-cc047a {
background-color: #cc047a;
color: #ffffff;
}
.border-cc047a {
border: 2px solid #cc047a;
}
:root {
--color-primary: #cc047a;
--color-primary-rgb: 204 4 122;
--color-primary-hsl: 325 96% 41%;
}
.gradient-cc047a {
background: linear-gradient(135deg, #cc047a, #cc0416);
}
.shadow-cc047a {
box-shadow: 0 8px 24px rgb(204 4 122 / 0.35);
}
Medium Violet Red
#cc047a rgb(204, 4, 122) hsl(325, 96%, 41%) Medium Violet Red
#04cc56 rgb(4, 204, 86) hsl(145, 96%, 41%) Malachite
#7acc04 rgb(122, 204, 4) hsl(85, 96%, 41%) Yellow Green
#047acc rgb(4, 122, 204) hsl(205, 96%, 41%) True Blue