#cc2aa6 ≈ Medium Violet Red
#cc2aa6 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 80% red, 16.47% green and 65.1% blue; printed in CMYK it uses 0% cyan, 79.41% magenta, 18.63% yellow and 20% black. Its hue angle is 314.07°, with 65.85% saturation and 48.24% 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.72:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 6.31.
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.1725 |
Shades
#cc2aa6 mixed progressively with black.
Tints
#cc2aa6 mixed progressively with white.
Tones
#cc2aa6 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cc2aa6 {
color: #cc2aa6;
}
.bg-cc2aa6 {
background-color: #cc2aa6;
color: #ffffff;
}
.border-cc2aa6 {
border: 2px solid #cc2aa6;
}
:root {
--color-primary: #cc2aa6;
--color-primary-rgb: 204 42 166;
--color-primary-hsl: 314 66% 48%;
}
.gradient-cc2aa6 {
background: linear-gradient(135deg, #cc2aa6, #cc2a55);
}
.shadow-cc2aa6 {
box-shadow: 0 8px 24px rgb(204 42 166 / 0.35);
}
Medium Violet Red
#cc2aa6 rgb(204, 42, 166) hsl(314, 66%, 48%) Medium Violet Red
#2acc50 rgb(42, 204, 80) hsl(134, 66%, 48%) Lime Green
#a6cc2a rgb(166, 204, 42) hsl(74, 66%, 48%) Yellow Green
#2aa6cc rgb(42, 166, 204) hsl(194, 66%, 48%) Bondi Blue