#d7158d ≈ Medium Violet Red
#d7158d is a color from the rose family, with medium lightness and vivid saturation. In the RGB model it is made of 84.31% red, 8.24% green and 55.29% blue; printed in CMYK it uses 0% cyan, 90.23% magenta, 34.42% yellow and 15.69% black. Its hue angle is 322.89°, with 82.2% saturation and 46.27% 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 4.79:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 3.45.
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.1691 |
Shades
#d7158d mixed progressively with black.
Tints
#d7158d mixed progressively with white.
Tones
#d7158d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d7158d {
color: #d7158d;
}
.bg-d7158d {
background-color: #d7158d;
color: #ffffff;
}
.border-d7158d {
border: 2px solid #d7158d;
}
:root {
--color-primary: #d7158d;
--color-primary-rgb: 215 21 141;
--color-primary-hsl: 323 82% 46%;
}
.gradient-d7158d {
background: linear-gradient(135deg, #d7158d, #d7152c);
}
.shadow-d7158d {
box-shadow: 0 8px 24px rgb(215 21 141 / 0.35);
}
Medium Violet Red
#d7158d rgb(215, 21, 141) hsl(323, 82%, 46%) Medium Violet Red
#15d75f rgb(21, 215, 95) hsl(143, 82%, 46%) Malachite
#8dd715 rgb(141, 215, 21) hsl(83, 82%, 46%) Yellow Green
#158dd7 rgb(21, 141, 215) hsl(203, 82%, 46%) Bleu de France