#cc0d7a ≈ Medium Violet Red
#cc0d7a is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 80% red, 5.1% green and 47.84% blue; printed in CMYK it uses 0% cyan, 93.63% magenta, 40.2% yellow and 20% black. Its hue angle is 325.76°, with 88.02% saturation and 42.55% 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.38:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 2.85.
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.1453 |
Shades
#cc0d7a mixed progressively with black.
Tints
#cc0d7a mixed progressively with white.
Tones
#cc0d7a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cc0d7a {
color: #cc0d7a;
}
.bg-cc0d7a {
background-color: #cc0d7a;
color: #ffffff;
}
.border-cc0d7a {
border: 2px solid #cc0d7a;
}
:root {
--color-primary: #cc0d7a;
--color-primary-rgb: 204 13 122;
--color-primary-hsl: 326 88% 43%;
}
.gradient-cc0d7a {
background: linear-gradient(135deg, #cc0d7a, #cc0d1a);
}
.shadow-cc0d7a {
box-shadow: 0 8px 24px rgb(204 13 122 / 0.35);
}
Medium Violet Red
#cc0d7a rgb(204, 13, 122) hsl(326, 88%, 43%) Medium Violet Red
#0dcc5f rgb(13, 204, 95) hsl(146, 88%, 43%) Malachite
#7acc0d rgb(122, 204, 13) hsl(86, 88%, 43%) Yellow Green
#0d7acc rgb(13, 122, 204) hsl(206, 88%, 43%) True Blue