#c8159f ≈ Medium Violet Red
#c8159f is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 78.43% red, 8.24% green and 62.35% blue; printed in CMYK it uses 0% cyan, 89.5% magenta, 20.5% yellow and 21.57% black. Its hue angle is 313.74°, with 81% saturation and 43.33% 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.17:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 5.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.1532 |
Shades
#c8159f mixed progressively with black.
Tints
#c8159f mixed progressively with white.
Tones
#c8159f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c8159f {
color: #c8159f;
}
.bg-c8159f {
background-color: #c8159f;
color: #ffffff;
}
.border-c8159f {
border: 2px solid #c8159f;
}
:root {
--color-primary: #c8159f;
--color-primary-rgb: 200 21 159;
--color-primary-hsl: 314 81% 43%;
}
.gradient-c8159f {
background: linear-gradient(135deg, #c8159f, #c81546);
}
.shadow-c8159f {
box-shadow: 0 8px 24px rgb(200 21 159 / 0.35);
}
Medium Violet Red
#c8159f rgb(200, 21, 159) hsl(314, 81%, 43%) Medium Violet Red
#15c83e rgb(21, 200, 62) hsl(134, 81%, 43%) Lime Green
#9fc815 rgb(159, 200, 21) hsl(74, 81%, 43%) Yellow Green
#159fc8 rgb(21, 159, 200) hsl(194, 81%, 43%) Bondi Blue