#c8118f ≈ Medium Violet Red
#c8118f is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 78.43% red, 6.67% green and 56.08% blue; printed in CMYK it uses 0% cyan, 91.5% magenta, 28.5% yellow and 21.57% black. Its hue angle is 318.69°, with 84.33% saturation and 42.55% 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.34:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 2.03.
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.1466 |
Shades
#c8118f mixed progressively with black.
Tints
#c8118f mixed progressively with white.
Tones
#c8118f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c8118f {
color: #c8118f;
}
.bg-c8118f {
background-color: #c8118f;
color: #ffffff;
}
.border-c8118f {
border: 2px solid #c8118f;
}
:root {
--color-primary: #c8118f;
--color-primary-rgb: 200 17 143;
--color-primary-hsl: 319 84% 43%;
}
.gradient-c8118f {
background: linear-gradient(135deg, #c8118f, #c81133);
}
.shadow-c8118f {
box-shadow: 0 8px 24px rgb(200 17 143 / 0.35);
}
Medium Violet Red
#c8118f rgb(200, 17, 143) hsl(319, 84%, 43%) Medium Violet Red
#11c84a rgb(17, 200, 74) hsl(139, 84%, 43%) Lime Green
#8fc811 rgb(143, 200, 17) hsl(79, 84%, 43%) Yellow Green
#118fc8 rgb(17, 143, 200) hsl(199, 84%, 43%) Steel Blue