#d81998 ≈ Medium Violet Red
#d81998 is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 84.71% red, 9.8% green and 59.61% blue; printed in CMYK it uses 0% cyan, 88.43% magenta, 29.63% yellow and 15.29% black. Its hue angle is 320.1°, with 79.25% saturation and 47.25% 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. White text on this color reaches a contrast ratio of 4.65:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 4.51.
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.1756 |
Shades
#d81998 mixed progressively with black.
Tints
#d81998 mixed progressively with white.
Tones
#d81998 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d81998 {
color: #d81998;
}
.bg-d81998 {
background-color: #d81998;
color: #ffffff;
}
.border-d81998 {
border: 2px solid #d81998;
}
:root {
--color-primary: #d81998;
--color-primary-rgb: 216 25 152;
--color-primary-hsl: 320 79% 47%;
}
.gradient-d81998 {
background: linear-gradient(135deg, #d81998, #d81939);
}
.shadow-d81998 {
box-shadow: 0 8px 24px rgb(216 25 152 / 0.35);
}
Medium Violet Red
#d81998 rgb(216, 25, 152) hsl(320, 79%, 47%) Medium Violet Red
#19d859 rgb(25, 216, 89) hsl(140, 79%, 47%) Malachite
#98d819 rgb(152, 216, 25) hsl(80, 79%, 47%) Yellow Green
#1998d8 rgb(25, 152, 216) hsl(200, 79%, 47%) Carolina Blue