#dc158d ≈ Medium Violet Red
#dc158d is a color from the rose family, with medium lightness and vivid saturation. In the RGB model it is made of 86.27% red, 8.24% green and 55.29% blue; printed in CMYK it uses 0% cyan, 90.45% magenta, 35.91% yellow and 13.73% black. Its hue angle is 323.82°, with 82.57% saturation and 47.25% 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.63:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 4.53.
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.1768 |
Shades
#dc158d mixed progressively with black.
Tints
#dc158d mixed progressively with white.
Tones
#dc158d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dc158d {
color: #dc158d;
}
.bg-dc158d {
background-color: #dc158d;
color: #ffffff;
}
.border-dc158d {
border: 2px solid #dc158d;
}
:root {
--color-primary: #dc158d;
--color-primary-rgb: 220 21 141;
--color-primary-hsl: 324 83% 47%;
}
.gradient-dc158d {
background: linear-gradient(135deg, #dc158d, #dc1529);
}
.shadow-dc158d {
box-shadow: 0 8px 24px rgb(220 21 141 / 0.35);
}
Medium Violet Red
#dc158d rgb(220, 21, 141) hsl(324, 83%, 47%) Medium Violet Red
#15dc64 rgb(21, 220, 100) hsl(144, 83%, 47%) Malachite
#8ddc15 rgb(141, 220, 21) hsl(84, 83%, 47%) Yellow Green
#158ddc rgb(21, 141, 220) hsl(204, 83%, 47%) Bleu de France