#c02b8a ≈ Medium Violet Red
#c02b8a is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 75.29% red, 16.86% green and 54.12% blue; printed in CMYK it uses 0% cyan, 77.6% magenta, 28.13% yellow and 24.71% black. Its hue angle is 321.74°, with 63.4% saturation and 46.08% lightness in HSL. It sits between warm and cool, and is often associated with romance, playfulness and affection. Designers typically use it for food and restaurant brands, sales and promotions and brand accents. White text on this color reaches a contrast ratio of 5.31:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 1.97.
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.1477 |
Shades
#c02b8a mixed progressively with black.
Tints
#c02b8a mixed progressively with white.
Tones
#c02b8a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c02b8a {
color: #c02b8a;
}
.bg-c02b8a {
background-color: #c02b8a;
color: #ffffff;
}
.border-c02b8a {
border: 2px solid #c02b8a;
}
:root {
--color-primary: #c02b8a;
--color-primary-rgb: 192 43 138;
--color-primary-hsl: 322 63% 46%;
}
.gradient-c02b8a {
background: linear-gradient(135deg, #c02b8a, #c02b40);
}
.shadow-c02b8a {
box-shadow: 0 8px 24px rgb(192 43 138 / 0.35);
}
Medium Violet Red
#c02b8a rgb(192, 43, 138) hsl(322, 63%, 46%) Medium Violet Red
#2bc061 rgb(43, 192, 97) hsl(142, 63%, 46%) Emerald
#8ac02b rgb(138, 192, 43) hsl(82, 63%, 46%) Yellow Green
#2b8ac0 rgb(43, 138, 192) hsl(202, 63%, 46%) Steel Blue