#c02ca7 ≈ Medium Violet Red
#c02ca7 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 65.49% blue; printed in CMYK it uses 0% cyan, 77.08% magenta, 13.02% yellow and 24.71% black. Its hue angle is 310.14°, 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.05:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 7.
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.158 |
Shades
#c02ca7 mixed progressively with black.
Tints
#c02ca7 mixed progressively with white.
Tones
#c02ca7 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c02ca7 {
color: #c02ca7;
}
.bg-c02ca7 {
background-color: #c02ca7;
color: #ffffff;
}
.border-c02ca7 {
border: 2px solid #c02ca7;
}
:root {
--color-primary: #c02ca7;
--color-primary-rgb: 192 44 167;
--color-primary-hsl: 310 63% 46%;
}
.gradient-c02ca7 {
background: linear-gradient(135deg, #c02ca7, #c02c5d);
}
.shadow-c02ca7 {
box-shadow: 0 8px 24px rgb(192 44 167 / 0.35);
}
Medium Violet Red
#c02ca7 rgb(192, 44, 167) hsl(310, 63%, 46%) Medium Violet Red
#2cc045 rgb(44, 192, 69) hsl(130, 63%, 46%) Lime Green
#a7c02c rgb(167, 192, 44) hsl(70, 63%, 46%) Apple Green
#2ca7c0 rgb(44, 167, 192) hsl(190, 63%, 46%) Bondi Blue