#cc229e ≈ Medium Violet Red
#cc229e is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 80% red, 13.33% green and 61.96% blue; printed in CMYK it uses 0% cyan, 83.33% magenta, 22.55% yellow and 20% black. Its hue angle is 316.24°, with 71.43% saturation and 46.67% 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.9:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 4.75.
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.1645 |
Shades
#cc229e mixed progressively with black.
Tints
#cc229e mixed progressively with white.
Tones
#cc229e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cc229e {
color: #cc229e;
}
.bg-cc229e {
background-color: #cc229e;
color: #ffffff;
}
.border-cc229e {
border: 2px solid #cc229e;
}
:root {
--color-primary: #cc229e;
--color-primary-rgb: 204 34 158;
--color-primary-hsl: 316 71% 47%;
}
.gradient-cc229e {
background: linear-gradient(135deg, #cc229e, #cc2249);
}
.shadow-cc229e {
box-shadow: 0 8px 24px rgb(204 34 158 / 0.35);
}
Medium Violet Red
#cc229e rgb(204, 34, 158) hsl(316, 71%, 47%) Medium Violet Red
#22cc50 rgb(34, 204, 80) hsl(136, 71%, 47%) Malachite
#9ecc22 rgb(158, 204, 34) hsl(76, 71%, 47%) Yellow Green
#229ecc rgb(34, 158, 204) hsl(196, 71%, 47%) Bondi Blue