#cc128a ≈ Medium Violet Red
#cc128a is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 80% red, 7.06% green and 54.12% blue; printed in CMYK it uses 0% cyan, 91.18% magenta, 32.35% yellow and 20% black. Its hue angle is 321.29°, with 83.78% saturation and 43.53% 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.22:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 1.16.
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.151 |
Shades
#cc128a mixed progressively with black.
Tints
#cc128a mixed progressively with white.
Tones
#cc128a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cc128a {
color: #cc128a;
}
.bg-cc128a {
background-color: #cc128a;
color: #ffffff;
}
.border-cc128a {
border: 2px solid #cc128a;
}
:root {
--color-primary: #cc128a;
--color-primary-rgb: 204 18 138;
--color-primary-hsl: 321 84% 44%;
}
.gradient-cc128a {
background: linear-gradient(135deg, #cc128a, #cc122d);
}
.shadow-cc128a {
box-shadow: 0 8px 24px rgb(204 18 138 / 0.35);
}
Medium Violet Red
#cc128a rgb(204, 18, 138) hsl(321, 84%, 44%) Medium Violet Red
#12cc54 rgb(18, 204, 84) hsl(141, 84%, 44%) Malachite
#8acc12 rgb(138, 204, 18) hsl(81, 84%, 44%) Yellow Green
#128acc rgb(18, 138, 204) hsl(201, 84%, 44%) Steel Blue