#dc1998 ≈ Medium Violet Red
#dc1998 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.8% green and 59.61% blue; printed in CMYK it uses 0% cyan, 88.64% magenta, 30.91% yellow and 13.73% black. Its hue angle is 320.92°, with 79.59% saturation and 48.04% 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 brand accents. Black text on this color reaches a contrast ratio of 4.64:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 5.13.
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.1818 |
Shades
#dc1998 mixed progressively with black.
Tints
#dc1998 mixed progressively with white.
Tones
#dc1998 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dc1998 {
color: #dc1998;
}
.bg-dc1998 {
background-color: #dc1998;
color: #000000;
}
.border-dc1998 {
border: 2px solid #dc1998;
}
:root {
--color-primary: #dc1998;
--color-primary-rgb: 220 25 152;
--color-primary-hsl: 321 80% 48%;
}
.gradient-dc1998 {
background: linear-gradient(135deg, #dc1998, #dc1937);
}
.shadow-dc1998 {
box-shadow: 0 8px 24px rgb(220 25 152 / 0.35);
}
Medium Violet Red
#dc1998 rgb(220, 25, 152) hsl(321, 80%, 48%) Medium Violet Red
#19dc5d rgb(25, 220, 93) hsl(141, 80%, 48%) Malachite
#98dc19 rgb(152, 220, 25) hsl(81, 80%, 48%) Yellow Green
#1998dc rgb(25, 152, 220) hsl(201, 80%, 48%) Carolina Blue