#dc0c98 ≈ Medium Violet Red
#dc0c98 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 86.27% red, 4.71% green and 59.61% blue; printed in CMYK it uses 0% cyan, 94.55% magenta, 30.91% yellow and 13.73% black. Its hue angle is 319.62°, with 89.66% saturation and 45.49% 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. 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.8.
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.1775 |
Shades
#dc0c98 mixed progressively with black.
Tints
#dc0c98 mixed progressively with white.
Tones
#dc0c98 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dc0c98 {
color: #dc0c98;
}
.bg-dc0c98 {
background-color: #dc0c98;
color: #ffffff;
}
.border-dc0c98 {
border: 2px solid #dc0c98;
}
:root {
--color-primary: #dc0c98;
--color-primary-rgb: 220 12 152;
--color-primary-hsl: 320 90% 45%;
}
.gradient-dc0c98 {
background: linear-gradient(135deg, #dc0c98, #dc0c30);
}
.shadow-dc0c98 {
box-shadow: 0 8px 24px rgb(220 12 152 / 0.35);
}
Medium Violet Red
#dc0c98 rgb(220, 12, 152) hsl(320, 90%, 45%) Medium Violet Red
#0cdc50 rgb(12, 220, 80) hsl(140, 90%, 45%) Malachite
#98dc0c rgb(152, 220, 12) hsl(80, 90%, 45%) Yellow Green
#0c98dc rgb(12, 152, 220) hsl(200, 90%, 45%) Carolina Blue