#ca0c8d ≈ Medium Violet Red
#ca0c8d is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 79.22% red, 4.71% green and 55.29% blue; printed in CMYK it uses 0% cyan, 94.06% magenta, 30.2% yellow and 20.78% black. Its hue angle is 319.26°, with 88.79% saturation and 41.96% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 5.32:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 1.58.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc0099 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1474 |
Shades
#ca0c8d mixed progressively with black.
Tints
#ca0c8d mixed progressively with white.
Tones
#ca0c8d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ca0c8d {
color: #ca0c8d;
}
.bg-ca0c8d {
background-color: #ca0c8d;
color: #ffffff;
}
.border-ca0c8d {
border: 2px solid #ca0c8d;
}
:root {
--color-primary: #ca0c8d;
--color-primary-rgb: 202 12 141;
--color-primary-hsl: 319 89% 42%;
}
.gradient-ca0c8d {
background: linear-gradient(135deg, #ca0c8d, #ca0c2e);
}
.shadow-ca0c8d {
box-shadow: 0 8px 24px rgb(202 12 141 / 0.35);
}
Medium Violet Red
#ca0c8d rgb(202, 12, 141) hsl(319, 89%, 42%) Medium Violet Red
#0cca49 rgb(12, 202, 73) hsl(139, 89%, 42%) Lime Green
#8dca0c rgb(141, 202, 12) hsl(79, 89%, 42%) Yellow Green
#0c8dca rgb(12, 141, 202) hsl(199, 89%, 42%) Steel Blue