#cc0a7b ≈ Medium Violet Red
#cc0a7b is a color from the rose family, with medium lightness and vivid saturation. In the RGB model it is made of 80% red, 3.92% green and 48.24% blue; printed in CMYK it uses 0% cyan, 95.1% magenta, 39.71% yellow and 20% black. Its hue angle is 325.05°, with 90.65% saturation and 41.96% 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.39:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 2.59.
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.1448 |
Shades
#cc0a7b mixed progressively with black.
Tints
#cc0a7b mixed progressively with white.
Tones
#cc0a7b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cc0a7b {
color: #cc0a7b;
}
.bg-cc0a7b {
background-color: #cc0a7b;
color: #ffffff;
}
.border-cc0a7b {
border: 2px solid #cc0a7b;
}
:root {
--color-primary: #cc0a7b;
--color-primary-rgb: 204 10 123;
--color-primary-hsl: 325 91% 42%;
}
.gradient-cc0a7b {
background: linear-gradient(135deg, #cc0a7b, #cc0a1a);
}
.shadow-cc0a7b {
box-shadow: 0 8px 24px rgb(204 10 123 / 0.35);
}
Medium Violet Red
#cc0a7b rgb(204, 10, 123) hsl(325, 91%, 42%) Medium Violet Red
#0acc5b rgb(10, 204, 91) hsl(145, 91%, 42%) Malachite
#7bcc0a rgb(123, 204, 10) hsl(85, 91%, 42%) Yellow Green
#0a7bcc rgb(10, 123, 204) hsl(205, 91%, 42%) True Blue