#c021a7 ≈ Medium Violet Red
#c021a7 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 75.29% red, 12.94% green and 65.49% blue; printed in CMYK it uses 0% cyan, 82.81% magenta, 13.02% yellow and 24.71% black. Its hue angle is 309.43°, with 70.67% saturation and 44.12% 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.23:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 7.03.
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.1508 |
Shades
#c021a7 mixed progressively with black.
Tints
#c021a7 mixed progressively with white.
Tones
#c021a7 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c021a7 {
color: #c021a7;
}
.bg-c021a7 {
background-color: #c021a7;
color: #ffffff;
}
.border-c021a7 {
border: 2px solid #c021a7;
}
:root {
--color-primary: #c021a7;
--color-primary-rgb: 192 33 167;
--color-primary-hsl: 309 71% 44%;
}
.gradient-c021a7 {
background: linear-gradient(135deg, #c021a7, #c02158);
}
.shadow-c021a7 {
box-shadow: 0 8px 24px rgb(192 33 167 / 0.35);
}
Medium Violet Red
#c021a7 rgb(192, 33, 167) hsl(309, 71%, 44%) Medium Violet Red
#21c03a rgb(33, 192, 58) hsl(129, 71%, 44%) Lime Green
#a7c021 rgb(167, 192, 33) hsl(69, 71%, 44%) Apple Green
#21a7c0 rgb(33, 167, 192) hsl(189, 71%, 44%) Bondi Blue