#c02898 ≈ Medium Violet Red
#c02898 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 75.29% red, 15.69% green and 59.61% blue; printed in CMYK it uses 0% cyan, 79.17% magenta, 20.83% yellow and 24.71% black. Its hue angle is 315.79°, with 65.52% saturation and 45.49% 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.25:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 4.29.
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.1499 |
Shades
#c02898 mixed progressively with black.
Tints
#c02898 mixed progressively with white.
Tones
#c02898 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c02898 {
color: #c02898;
}
.bg-c02898 {
background-color: #c02898;
color: #ffffff;
}
.border-c02898 {
border: 2px solid #c02898;
}
:root {
--color-primary: #c02898;
--color-primary-rgb: 192 40 152;
--color-primary-hsl: 316 66% 45%;
}
.gradient-c02898 {
background: linear-gradient(135deg, #c02898, #c0284c);
}
.shadow-c02898 {
box-shadow: 0 8px 24px rgb(192 40 152 / 0.35);
}
Medium Violet Red
#c02898 rgb(192, 40, 152) hsl(316, 66%, 45%) Medium Violet Red
#28c050 rgb(40, 192, 80) hsl(136, 66%, 45%) Lime Green
#98c028 rgb(152, 192, 40) hsl(76, 66%, 45%) Apple Green
#2898c0 rgb(40, 152, 192) hsl(196, 66%, 45%) Bondi Blue