#cc0e8a ≈ Medium Violet Red
#cc0e8a is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 80% red, 5.49% green and 54.12% blue; printed in CMYK it uses 0% cyan, 93.14% magenta, 32.35% yellow and 20% black. Its hue angle is 320.84°, with 87.16% saturation and 42.75% 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.25:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 1.12.
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.1499 |
Shades
#cc0e8a mixed progressively with black.
Tints
#cc0e8a mixed progressively with white.
Tones
#cc0e8a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cc0e8a {
color: #cc0e8a;
}
.bg-cc0e8a {
background-color: #cc0e8a;
color: #ffffff;
}
.border-cc0e8a {
border: 2px solid #cc0e8a;
}
:root {
--color-primary: #cc0e8a;
--color-primary-rgb: 204 14 138;
--color-primary-hsl: 321 87% 43%;
}
.gradient-cc0e8a {
background: linear-gradient(135deg, #cc0e8a, #cc0e2b);
}
.shadow-cc0e8a {
box-shadow: 0 8px 24px rgb(204 14 138 / 0.35);
}
Medium Violet Red
#cc0e8a rgb(204, 14, 138) hsl(321, 87%, 43%) Medium Violet Red
#0ecc50 rgb(14, 204, 80) hsl(141, 87%, 43%) Malachite
#8acc0e rgb(138, 204, 14) hsl(81, 87%, 43%) Yellow Green
#0e8acc rgb(14, 138, 204) hsl(201, 87%, 43%) Steel Blue