#c02fa4 ≈ Medium Violet Red
#c02fa4 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 75.29% red, 18.43% green and 64.31% blue; printed in CMYK it uses 0% cyan, 75.52% magenta, 14.58% yellow and 24.71% black. Its hue angle is 311.59°, with 60.67% saturation and 46.86% 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.02:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 6.5.
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.1592 |
Shades
#c02fa4 mixed progressively with black.
Tints
#c02fa4 mixed progressively with white.
Tones
#c02fa4 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c02fa4 {
color: #c02fa4;
}
.bg-c02fa4 {
background-color: #c02fa4;
color: #ffffff;
}
.border-c02fa4 {
border: 2px solid #c02fa4;
}
:root {
--color-primary: #c02fa4;
--color-primary-rgb: 192 47 164;
--color-primary-hsl: 312 61% 47%;
}
.gradient-c02fa4 {
background: linear-gradient(135deg, #c02fa4, #c02f5b);
}
.shadow-c02fa4 {
box-shadow: 0 8px 24px rgb(192 47 164 / 0.35);
}
Medium Violet Red
#c02fa4 rgb(192, 47, 164) hsl(312, 61%, 47%) Medium Violet Red
#2fc04b rgb(47, 192, 75) hsl(132, 61%, 47%) Lime Green
#a4c02f rgb(164, 192, 47) hsl(72, 61%, 47%) Apple Green
#2fa4c0 rgb(47, 164, 192) hsl(192, 61%, 47%) Bondi Blue