#dc158f ≈ Medium Violet Red
#dc158f 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 56.08% blue; printed in CMYK it uses 0% cyan, 90.45% magenta, 35% yellow and 13.73% black. Its hue angle is 323.22°, 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.62:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 4.54.
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.1774 |
Shades
#dc158f mixed progressively with black.
Tints
#dc158f mixed progressively with white.
Tones
#dc158f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dc158f {
color: #dc158f;
}
.bg-dc158f {
background-color: #dc158f;
color: #ffffff;
}
.border-dc158f {
border: 2px solid #dc158f;
}
:root {
--color-primary: #dc158f;
--color-primary-rgb: 220 21 143;
--color-primary-hsl: 323 83% 47%;
}
.gradient-dc158f {
background: linear-gradient(135deg, #dc158f, #dc152b);
}
.shadow-dc158f {
box-shadow: 0 8px 24px rgb(220 21 143 / 0.35);
}
Medium Violet Red
#dc158f rgb(220, 21, 143) hsl(323, 83%, 47%) Medium Violet Red
#15dc62 rgb(21, 220, 98) hsl(143, 83%, 47%) Malachite
#8fdc15 rgb(143, 220, 21) hsl(83, 83%, 47%) Yellow Green
#158fdc rgb(21, 143, 220) hsl(203, 83%, 47%) Bleu de France