#dc0fa9 ≈ Medium Violet Red
#dc0fa9 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 86.27% red, 5.88% green and 66.27% blue; printed in CMYK it uses 0% cyan, 93.18% magenta, 23.18% yellow and 13.73% black. Its hue angle is 314.93°, with 87.23% saturation and 46.08% lightness in HSL. It sits between warm and cool, and is often associated with creativity, boldness and individuality. Designers typically use it for beauty and cosmetics, creative studios and call-to-action buttons. Black text on this color reaches a contrast ratio of 4.68:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 6.94.
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.1842 |
Shades
#dc0fa9 mixed progressively with black.
Tints
#dc0fa9 mixed progressively with white.
Tones
#dc0fa9 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dc0fa9 {
color: #dc0fa9;
}
.bg-dc0fa9 {
background-color: #dc0fa9;
color: #000000;
}
.border-dc0fa9 {
border: 2px solid #dc0fa9;
}
:root {
--color-primary: #dc0fa9;
--color-primary-rgb: 220 15 169;
--color-primary-hsl: 315 87% 46%;
}
.gradient-dc0fa9 {
background: linear-gradient(135deg, #dc0fa9, #dc0f42);
}
.shadow-dc0fa9 {
box-shadow: 0 8px 24px rgb(220 15 169 / 0.35);
}
Medium Violet Red
#dc0fa9 rgb(220, 15, 169) hsl(315, 87%, 46%) Medium Violet Red
#0fdc42 rgb(15, 220, 66) hsl(135, 87%, 46%) Malachite
#a9dc0f rgb(169, 220, 15) hsl(75, 87%, 46%) Yellow Green
#0fa9dc rgb(15, 169, 220) hsl(195, 87%, 46%) Carolina Blue