#cc0787 ≈ Medium Violet Red
#cc0787 is a color from the rose family, with medium lightness and vivid saturation. In the RGB model it is made of 80% red, 2.75% green and 52.94% blue; printed in CMYK it uses 0% cyan, 96.57% magenta, 33.82% yellow and 20% black. Its hue angle is 321.02°, with 93.36% saturation and 41.37% 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.32:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 0.82.
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.1474 |
Shades
#cc0787 mixed progressively with black.
Tints
#cc0787 mixed progressively with white.
Tones
#cc0787 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cc0787 {
color: #cc0787;
}
.bg-cc0787 {
background-color: #cc0787;
color: #ffffff;
}
.border-cc0787 {
border: 2px solid #cc0787;
}
:root {
--color-primary: #cc0787;
--color-primary-rgb: 204 7 135;
--color-primary-hsl: 321 93% 41%;
}
.gradient-cc0787 {
background: linear-gradient(135deg, #cc0787, #cc0724);
}
.shadow-cc0787 {
box-shadow: 0 8px 24px rgb(204 7 135 / 0.35);
}
Medium Violet Red
#cc0787 rgb(204, 7, 135) hsl(321, 93%, 41%) Medium Violet Red
#07cc4c rgb(7, 204, 76) hsl(141, 93%, 41%) Lime Green
#87cc07 rgb(135, 204, 7) hsl(81, 93%, 41%) Yellow Green
#0787cc rgb(7, 135, 204) hsl(201, 93%, 41%) Steel Blue