#dc0b8a ≈ Medium Violet Red
#dc0b8a is a color from the rose family, with medium lightness and vivid saturation. In the RGB model it is made of 86.27% red, 4.31% green and 54.12% blue; printed in CMYK it uses 0% cyan, 95% magenta, 37.27% yellow and 13.73% black. Its hue angle is 323.54°, with 90.48% saturation and 45.29% 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.71:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 4.27.
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.1729 |
Shades
#dc0b8a mixed progressively with black.
Tints
#dc0b8a mixed progressively with white.
Tones
#dc0b8a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dc0b8a {
color: #dc0b8a;
}
.bg-dc0b8a {
background-color: #dc0b8a;
color: #ffffff;
}
.border-dc0b8a {
border: 2px solid #dc0b8a;
}
:root {
--color-primary: #dc0b8a;
--color-primary-rgb: 220 11 138;
--color-primary-hsl: 324 90% 45%;
}
.gradient-dc0b8a {
background: linear-gradient(135deg, #dc0b8a, #dc0b21);
}
.shadow-dc0b8a {
box-shadow: 0 8px 24px rgb(220 11 138 / 0.35);
}
Medium Violet Red
#dc0b8a rgb(220, 11, 138) hsl(324, 90%, 45%) Medium Violet Red
#0bdc5d rgb(11, 220, 93) hsl(144, 90%, 45%) Malachite
#8adc0b rgb(138, 220, 11) hsl(84, 90%, 45%) Yellow Green
#0b8adc rgb(11, 138, 220) hsl(204, 90%, 45%) Bleu de France