#c40d70 ≈ Medium Violet Red
#c40d70 is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 76.86% red, 5.1% green and 43.92% blue; printed in CMYK it uses 0% cyan, 93.37% magenta, 42.86% yellow and 23.14% black. Its hue angle is 327.54°, with 87.56% saturation and 40.98% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 5.77:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 4.35.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc0066 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1319 |
Shades
#c40d70 mixed progressively with black.
Tints
#c40d70 mixed progressively with white.
Tones
#c40d70 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c40d70 {
color: #c40d70;
}
.bg-c40d70 {
background-color: #c40d70;
color: #ffffff;
}
.border-c40d70 {
border: 2px solid #c40d70;
}
:root {
--color-primary: #c40d70;
--color-primary-rgb: 196 13 112;
--color-primary-hsl: 328 88% 41%;
}
.gradient-c40d70 {
background: linear-gradient(135deg, #c40d70, #c40d15);
}
.shadow-c40d70 {
box-shadow: 0 8px 24px rgb(196 13 112 / 0.35);
}
Medium Violet Red
#c40d70 rgb(196, 13, 112) hsl(328, 88%, 41%) Medium Violet Red
#0dc461 rgb(13, 196, 97) hsl(148, 88%, 41%) Emerald
#70c40d rgb(112, 196, 13) hsl(88, 88%, 41%) Kelly Green
#0d70c4 rgb(13, 112, 196) hsl(208, 88%, 41%) True Blue