#c31c8a ≈ Medium Violet Red
#c31c8a is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 76.47% red, 10.98% green and 54.12% blue; printed in CMYK it uses 0% cyan, 85.64% magenta, 29.23% yellow and 23.53% black. Its hue angle is 320.48°, with 74.89% saturation and 43.73% lightness in HSL. It sits between warm and cool, and is often associated with romance, playfulness and affection. Designers typically use it for food and restaurant brands, sales and promotions and brand accents. White text on this color reaches a contrast ratio of 5.45:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 1.42.
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.1427 |
Shades
#c31c8a mixed progressively with black.
Tints
#c31c8a mixed progressively with white.
Tones
#c31c8a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c31c8a {
color: #c31c8a;
}
.bg-c31c8a {
background-color: #c31c8a;
color: #ffffff;
}
.border-c31c8a {
border: 2px solid #c31c8a;
}
:root {
--color-primary: #c31c8a;
--color-primary-rgb: 195 28 138;
--color-primary-hsl: 320 75% 44%;
}
.gradient-c31c8a {
background: linear-gradient(135deg, #c31c8a, #c31c37);
}
.shadow-c31c8a {
box-shadow: 0 8px 24px rgb(195 28 138 / 0.35);
}
Medium Violet Red
#c31c8a rgb(195, 28, 138) hsl(320, 75%, 44%) Medium Violet Red
#1cc355 rgb(28, 195, 85) hsl(140, 75%, 44%) Emerald
#8ac31c rgb(138, 195, 28) hsl(80, 75%, 44%) Yellow Green
#1c8ac3 rgb(28, 138, 195) hsl(200, 75%, 44%) Steel Blue