#c02f97 ≈ Medium Violet Red
#c02f97 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 59.22% blue; printed in CMYK it uses 0% cyan, 75.52% magenta, 21.35% yellow and 24.71% black. Its hue angle is 316.97°, 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.13:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 4.19.
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.1547 |
Shades
#c02f97 mixed progressively with black.
Tints
#c02f97 mixed progressively with white.
Tones
#c02f97 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c02f97 {
color: #c02f97;
}
.bg-c02f97 {
background-color: #c02f97;
color: #ffffff;
}
.border-c02f97 {
border: 2px solid #c02f97;
}
:root {
--color-primary: #c02f97;
--color-primary-rgb: 192 47 151;
--color-primary-hsl: 317 61% 47%;
}
.gradient-c02f97 {
background: linear-gradient(135deg, #c02f97, #c02f4e);
}
.shadow-c02f97 {
box-shadow: 0 8px 24px rgb(192 47 151 / 0.35);
}
Medium Violet Red
#c02f97 rgb(192, 47, 151) hsl(317, 61%, 47%) Medium Violet Red
#2fc058 rgb(47, 192, 88) hsl(137, 61%, 47%) Emerald
#97c02f rgb(151, 192, 47) hsl(77, 61%, 47%) Apple Green
#2f97c0 rgb(47, 151, 192) hsl(197, 61%, 47%) Bondi Blue