#cc1fa2 ≈ Medium Violet Red
#cc1fa2 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 80% red, 12.16% green and 63.53% blue; printed in CMYK it uses 0% cyan, 84.8% magenta, 20.59% yellow and 20% black. Its hue angle is 314.57°, with 73.62% saturation and 46.08% 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 5.41.
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.1643 |
Shades
#cc1fa2 mixed progressively with black.
Tints
#cc1fa2 mixed progressively with white.
Tones
#cc1fa2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cc1fa2 {
color: #cc1fa2;
}
.bg-cc1fa2 {
background-color: #cc1fa2;
color: #ffffff;
}
.border-cc1fa2 {
border: 2px solid #cc1fa2;
}
:root {
--color-primary: #cc1fa2;
--color-primary-rgb: 204 31 162;
--color-primary-hsl: 315 74% 46%;
}
.gradient-cc1fa2 {
background: linear-gradient(135deg, #cc1fa2, #cc1f4b);
}
.shadow-cc1fa2 {
box-shadow: 0 8px 24px rgb(204 31 162 / 0.35);
}
Medium Violet Red
#cc1fa2 rgb(204, 31, 162) hsl(315, 74%, 46%) Medium Violet Red
#1fcc49 rgb(31, 204, 73) hsl(135, 74%, 46%) Lime Green
#a2cc1f rgb(162, 204, 31) hsl(75, 74%, 46%) Yellow Green
#1fa2cc rgb(31, 162, 204) hsl(195, 74%, 46%) Bondi Blue