#cc157c ≈ Medium Violet Red
#cc157c is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 80% red, 8.24% green and 48.63% blue; printed in CMYK it uses 0% cyan, 89.71% magenta, 39.22% yellow and 20% black. Its hue angle is 326.23°, with 81.33% saturation and 44.12% 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.3:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 2.64.
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.1483 |
Shades
#cc157c mixed progressively with black.
Tints
#cc157c mixed progressively with white.
Tones
#cc157c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cc157c {
color: #cc157c;
}
.bg-cc157c {
background-color: #cc157c;
color: #ffffff;
}
.border-cc157c {
border: 2px solid #cc157c;
}
:root {
--color-primary: #cc157c;
--color-primary-rgb: 204 21 124;
--color-primary-hsl: 326 81% 44%;
}
.gradient-cc157c {
background: linear-gradient(135deg, #cc157c, #cc1521);
}
.shadow-cc157c {
box-shadow: 0 8px 24px rgb(204 21 124 / 0.35);
}
Medium Violet Red
#cc157c rgb(204, 21, 124) hsl(326, 81%, 44%) Medium Violet Red
#15cc65 rgb(21, 204, 101) hsl(146, 81%, 44%) Emerald
#7ccc15 rgb(124, 204, 21) hsl(86, 81%, 44%) Yellow Green
#157ccc rgb(21, 124, 204) hsl(206, 81%, 44%) Tufts Blue