#cc2eac ≈ Medium Violet Red
#cc2eac is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 80% red, 18.04% green and 67.45% blue; printed in CMYK it uses 0% cyan, 77.45% magenta, 15.69% yellow and 20% black. Its hue angle is 312.15°, with 63.2% saturation and 49.02% 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.61:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 7.44.
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.1777 |
Shades
#cc2eac mixed progressively with black.
Tints
#cc2eac mixed progressively with white.
Tones
#cc2eac mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cc2eac {
color: #cc2eac;
}
.bg-cc2eac {
background-color: #cc2eac;
color: #ffffff;
}
.border-cc2eac {
border: 2px solid #cc2eac;
}
:root {
--color-primary: #cc2eac;
--color-primary-rgb: 204 46 172;
--color-primary-hsl: 312 63% 49%;
}
.gradient-cc2eac {
background: linear-gradient(135deg, #cc2eac, #cc2e5d);
}
.shadow-cc2eac {
box-shadow: 0 8px 24px rgb(204 46 172 / 0.35);
}
Medium Violet Red
#cc2eac rgb(204, 46, 172) hsl(312, 63%, 49%) Medium Violet Red
#2ecc4e rgb(46, 204, 78) hsl(132, 63%, 49%) Lime Green
#accc2e rgb(172, 204, 46) hsl(72, 63%, 49%) Yellow Green
#2eaccc rgb(46, 172, 204) hsl(192, 63%, 49%) Moonstone Blue