#cc2bad ≈ Medium Violet Red
#cc2bad is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 80% red, 16.86% green and 67.84% blue; printed in CMYK it uses 0% cyan, 78.92% magenta, 15.2% yellow and 20% black. Its hue angle is 311.55°, with 65.18% saturation and 48.43% 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.65:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 7.52.
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.1758 |
Shades
#cc2bad mixed progressively with black.
Tints
#cc2bad mixed progressively with white.
Tones
#cc2bad mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cc2bad {
color: #cc2bad;
}
.bg-cc2bad {
background-color: #cc2bad;
color: #ffffff;
}
.border-cc2bad {
border: 2px solid #cc2bad;
}
:root {
--color-primary: #cc2bad;
--color-primary-rgb: 204 43 173;
--color-primary-hsl: 312 65% 48%;
}
.gradient-cc2bad {
background: linear-gradient(135deg, #cc2bad, #cc2b5d);
}
.shadow-cc2bad {
box-shadow: 0 8px 24px rgb(204 43 173 / 0.35);
}
Medium Violet Red
#cc2bad rgb(204, 43, 173) hsl(312, 65%, 48%) Medium Violet Red
#2bcc4a rgb(43, 204, 74) hsl(132, 65%, 48%) Lime Green
#adcc2b rgb(173, 204, 43) hsl(72, 65%, 48%) Yellow Green
#2badcc rgb(43, 173, 204) hsl(192, 65%, 48%) Moonstone Blue