#c02ca2 ≈ Medium Violet Red
#c02ca2 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 75.29% red, 17.25% green and 63.53% blue; printed in CMYK it uses 0% cyan, 77.08% magenta, 15.63% yellow and 24.71% black. Its hue angle is 312.16°, with 62.71% saturation and 46.27% 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 5.09:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 6.11.
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.1562 |
Shades
#c02ca2 mixed progressively with black.
Tints
#c02ca2 mixed progressively with white.
Tones
#c02ca2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c02ca2 {
color: #c02ca2;
}
.bg-c02ca2 {
background-color: #c02ca2;
color: #ffffff;
}
.border-c02ca2 {
border: 2px solid #c02ca2;
}
:root {
--color-primary: #c02ca2;
--color-primary-rgb: 192 44 162;
--color-primary-hsl: 312 63% 46%;
}
.gradient-c02ca2 {
background: linear-gradient(135deg, #c02ca2, #c02c58);
}
.shadow-c02ca2 {
box-shadow: 0 8px 24px rgb(192 44 162 / 0.35);
}
Medium Violet Red
#c02ca2 rgb(192, 44, 162) hsl(312, 63%, 46%) Medium Violet Red
#2cc04a rgb(44, 192, 74) hsl(132, 63%, 46%) Lime Green
#a2c02c rgb(162, 192, 44) hsl(72, 63%, 46%) Apple Green
#2ca2c0 rgb(44, 162, 192) hsl(192, 63%, 46%) Bondi Blue