#cc2da1 ≈ Medium Violet Red
#cc2da1 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 80% red, 17.65% green and 63.14% blue; printed in CMYK it uses 0% cyan, 77.94% magenta, 21.08% yellow and 20% black. Its hue angle is 316.23°, with 63.86% saturation and 48.82% 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.71:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 5.58.
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.1729 |
Shades
#cc2da1 mixed progressively with black.
Tints
#cc2da1 mixed progressively with white.
Tones
#cc2da1 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cc2da1 {
color: #cc2da1;
}
.bg-cc2da1 {
background-color: #cc2da1;
color: #ffffff;
}
.border-cc2da1 {
border: 2px solid #cc2da1;
}
:root {
--color-primary: #cc2da1;
--color-primary-rgb: 204 45 161;
--color-primary-hsl: 316 64% 49%;
}
.gradient-cc2da1 {
background: linear-gradient(135deg, #cc2da1, #cc2d51);
}
.shadow-cc2da1 {
box-shadow: 0 8px 24px rgb(204 45 161 / 0.35);
}
Medium Violet Red
#cc2da1 rgb(204, 45, 161) hsl(316, 64%, 49%) Medium Violet Red
#2dcc58 rgb(45, 204, 88) hsl(136, 64%, 49%) Malachite
#a1cc2d rgb(161, 204, 45) hsl(76, 64%, 49%) Yellow Green
#2da1cc rgb(45, 161, 204) hsl(196, 64%, 49%) Bondi Blue