#dc178a ≈ Medium Violet Red
#dc178a is a color from the rose family, with medium lightness and vivid saturation. In the RGB model it is made of 86.27% red, 9.02% green and 54.12% blue; printed in CMYK it uses 0% cyan, 89.55% magenta, 37.27% yellow and 13.73% black. Its hue angle is 324.97°, with 81.07% saturation and 47.65% 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.67.
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.1766 |
Shades
#dc178a mixed progressively with black.
Tints
#dc178a mixed progressively with white.
Tones
#dc178a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dc178a {
color: #dc178a;
}
.bg-dc178a {
background-color: #dc178a;
color: #ffffff;
}
.border-dc178a {
border: 2px solid #dc178a;
}
:root {
--color-primary: #dc178a;
--color-primary-rgb: 220 23 138;
--color-primary-hsl: 325 81% 48%;
}
.gradient-dc178a {
background: linear-gradient(135deg, #dc178a, #dc1728);
}
.shadow-dc178a {
box-shadow: 0 8px 24px rgb(220 23 138 / 0.35);
}
Medium Violet Red
#dc178a rgb(220, 23, 138) hsl(325, 81%, 48%) Medium Violet Red
#17dc69 rgb(23, 220, 105) hsl(145, 81%, 48%) Malachite
#8adc17 rgb(138, 220, 23) hsl(85, 81%, 48%) Yellow Green
#178adc rgb(23, 138, 220) hsl(205, 81%, 48%) Bleu de France