#cc0c8f ≈ Medium Violet Red
#cc0c8f is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 80% red, 4.71% green and 56.08% blue; printed in CMYK it uses 0% cyan, 94.12% magenta, 29.9% yellow and 20% black. Its hue angle is 319.06°, with 88.89% saturation and 42.35% lightness in HSL. It sits between warm and cool, and is often associated with creativity, boldness and individuality. Designers typically use it for beauty and cosmetics, creative studios and call-to-action buttons. White text on this color reaches a contrast ratio of 5.23:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 1.93.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc0099 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1508 |
Shades
#cc0c8f mixed progressively with black.
Tints
#cc0c8f mixed progressively with white.
Tones
#cc0c8f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cc0c8f {
color: #cc0c8f;
}
.bg-cc0c8f {
background-color: #cc0c8f;
color: #ffffff;
}
.border-cc0c8f {
border: 2px solid #cc0c8f;
}
:root {
--color-primary: #cc0c8f;
--color-primary-rgb: 204 12 143;
--color-primary-hsl: 319 89% 42%;
}
.gradient-cc0c8f {
background: linear-gradient(135deg, #cc0c8f, #cc0c2f);
}
.shadow-cc0c8f {
box-shadow: 0 8px 24px rgb(204 12 143 / 0.35);
}
Medium Violet Red
#cc0c8f rgb(204, 12, 143) hsl(319, 89%, 42%) Medium Violet Red
#0ccc49 rgb(12, 204, 73) hsl(139, 89%, 42%) Lime Green
#8fcc0c rgb(143, 204, 12) hsl(79, 89%, 42%) Yellow Green
#0c8fcc rgb(12, 143, 204) hsl(199, 89%, 42%) Steel Blue