#cc2c8e ≈ Medium Violet Red
#cc2c8e is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 80% red, 17.25% green and 55.69% blue; printed in CMYK it uses 0% cyan, 78.43% magenta, 30.39% yellow and 20% black. Its hue angle is 323.25°, with 64.52% saturation and 48.63% 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 brand accents. White text on this color reaches a contrast ratio of 4.86:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 2.99.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc3399 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1659 |
Shades
#cc2c8e mixed progressively with black.
Tints
#cc2c8e mixed progressively with white.
Tones
#cc2c8e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cc2c8e {
color: #cc2c8e;
}
.bg-cc2c8e {
background-color: #cc2c8e;
color: #ffffff;
}
.border-cc2c8e {
border: 2px solid #cc2c8e;
}
:root {
--color-primary: #cc2c8e;
--color-primary-rgb: 204 44 142;
--color-primary-hsl: 323 65% 49%;
}
.gradient-cc2c8e {
background: linear-gradient(135deg, #cc2c8e, #cc2c3e);
}
.shadow-cc2c8e {
box-shadow: 0 8px 24px rgb(204 44 142 / 0.35);
}
Medium Violet Red
#cc2c8e rgb(204, 44, 142) hsl(323, 65%, 49%) Medium Violet Red
#2ccc6a rgb(44, 204, 106) hsl(143, 65%, 49%) Emerald
#8ecc2c rgb(142, 204, 44) hsl(83, 65%, 49%) Yellow Green
#2c8ecc rgb(44, 142, 204) hsl(203, 65%, 49%) Bleu de France