#cc0874 ≈ Medium Violet Red
#cc0874 is a color from the rose family, with medium lightness and vivid saturation. In the RGB model it is made of 80% red, 3.14% green and 45.49% blue; printed in CMYK it uses 0% cyan, 96.08% magenta, 43.14% yellow and 20% black. Its hue angle is 326.94°, with 92.45% saturation and 41.57% 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.45:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 4.09.
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.1427 |
Shades
#cc0874 mixed progressively with black.
Tints
#cc0874 mixed progressively with white.
Tones
#cc0874 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cc0874 {
color: #cc0874;
}
.bg-cc0874 {
background-color: #cc0874;
color: #ffffff;
}
.border-cc0874 {
border: 2px solid #cc0874;
}
:root {
--color-primary: #cc0874;
--color-primary-rgb: 204 8 116;
--color-primary-hsl: 327 92% 42%;
}
.gradient-cc0874 {
background: linear-gradient(135deg, #cc0874, #cc0812);
}
.shadow-cc0874 {
box-shadow: 0 8px 24px rgb(204 8 116 / 0.35);
}
Medium Violet Red
#cc0874 rgb(204, 8, 116) hsl(327, 92%, 42%) Medium Violet Red
#08cc60 rgb(8, 204, 96) hsl(147, 92%, 42%) Emerald
#74cc08 rgb(116, 204, 8) hsl(87, 92%, 42%) Yellow Green
#0874cc rgb(8, 116, 204) hsl(207, 92%, 42%) True Blue