#c8128e ≈ Medium Violet Red
#c8128e is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 78.43% red, 7.06% green and 55.69% blue; printed in CMYK it uses 0% cyan, 91% magenta, 29% yellow and 21.57% black. Its hue angle is 319.12°, with 83.49% saturation and 42.75% 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 1.82.
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
#c8128e mixed progressively with black.
Tints
#c8128e mixed progressively with white.
Tones
#c8128e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c8128e {
color: #c8128e;
}
.bg-c8128e {
background-color: #c8128e;
color: #ffffff;
}
.border-c8128e {
border: 2px solid #c8128e;
}
:root {
--color-primary: #c8128e;
--color-primary-rgb: 200 18 142;
--color-primary-hsl: 319 83% 43%;
}
.gradient-c8128e {
background: linear-gradient(135deg, #c8128e, #c81233);
}
.shadow-c8128e {
box-shadow: 0 8px 24px rgb(200 18 142 / 0.35);
}
Medium Violet Red
#c8128e rgb(200, 18, 142) hsl(319, 83%, 43%) Medium Violet Red
#12c84c rgb(18, 200, 76) hsl(139, 83%, 43%) Lime Green
#8ec812 rgb(142, 200, 18) hsl(79, 83%, 43%) Yellow Green
#128ec8 rgb(18, 142, 200) hsl(199, 83%, 43%) Steel Blue