#cc159c ≈ Medium Violet Red
#cc159c is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 80% red, 8.24% green and 61.18% blue; printed in CMYK it uses 0% cyan, 89.71% magenta, 23.53% yellow and 20% black. Its hue angle is 315.74°, with 81.33% saturation and 44.12% lightness in HSL. It sits between warm and cool, and is often associated with creativity, boldness and individuality. Designers typically use it for beauty and cosmetics, creative studios and call-to-action buttons. White text on this color reaches a contrast ratio of 5.05:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 4.29.
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.1577 |
Shades
#cc159c mixed progressively with black.
Tints
#cc159c mixed progressively with white.
Tones
#cc159c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cc159c {
color: #cc159c;
}
.bg-cc159c {
background-color: #cc159c;
color: #ffffff;
}
.border-cc159c {
border: 2px solid #cc159c;
}
:root {
--color-primary: #cc159c;
--color-primary-rgb: 204 21 156;
--color-primary-hsl: 316 81% 44%;
}
.gradient-cc159c {
background: linear-gradient(135deg, #cc159c, #cc1540);
}
.shadow-cc159c {
box-shadow: 0 8px 24px rgb(204 21 156 / 0.35);
}
Medium Violet Red
#cc159c rgb(204, 21, 156) hsl(316, 81%, 44%) Medium Violet Red
#15cc45 rgb(21, 204, 69) hsl(136, 81%, 44%) Lime Green
#9ccc15 rgb(156, 204, 21) hsl(76, 81%, 44%) Yellow Green
#159ccc rgb(21, 156, 204) hsl(196, 81%, 44%) Bondi Blue