#cc1b9f ≈ Medium Violet Red
#cc1b9f is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 80% red, 10.59% green and 62.35% blue; printed in CMYK it uses 0% cyan, 86.76% magenta, 22.06% yellow and 20% black. Its hue angle is 315.25°, with 76.62% saturation and 45.29% 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 brand accents. White text on this color reaches a contrast ratio of 4.97:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 4.85.
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.1612 |
Shades
#cc1b9f mixed progressively with black.
Tints
#cc1b9f mixed progressively with white.
Tones
#cc1b9f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cc1b9f {
color: #cc1b9f;
}
.bg-cc1b9f {
background-color: #cc1b9f;
color: #ffffff;
}
.border-cc1b9f {
border: 2px solid #cc1b9f;
}
:root {
--color-primary: #cc1b9f;
--color-primary-rgb: 204 27 159;
--color-primary-hsl: 315 77% 45%;
}
.gradient-cc1b9f {
background: linear-gradient(135deg, #cc1b9f, #cc1b47);
}
.shadow-cc1b9f {
box-shadow: 0 8px 24px rgb(204 27 159 / 0.35);
}
Medium Violet Red
#cc1b9f rgb(204, 27, 159) hsl(315, 77%, 45%) Medium Violet Red
#1bcc48 rgb(27, 204, 72) hsl(135, 77%, 45%) Lime Green
#9fcc1b rgb(159, 204, 27) hsl(75, 77%, 45%) Yellow Green
#1b9fcc rgb(27, 159, 204) hsl(195, 77%, 45%) Bondi Blue