#d31991 ≈ Medium Violet Red
#d31991 is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 82.75% red, 9.8% green and 56.86% blue; printed in CMYK it uses 0% cyan, 88.15% magenta, 31.28% yellow and 17.25% black. Its hue angle is 321.29°, with 78.81% saturation and 46.27% 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.86:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 3.07.
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.1659 |
Shades
#d31991 mixed progressively with black.
Tints
#d31991 mixed progressively with white.
Tones
#d31991 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d31991 {
color: #d31991;
}
.bg-d31991 {
background-color: #d31991;
color: #ffffff;
}
.border-d31991 {
border: 2px solid #d31991;
}
:root {
--color-primary: #d31991;
--color-primary-rgb: 211 25 145;
--color-primary-hsl: 321 79% 46%;
}
.gradient-d31991 {
background: linear-gradient(135deg, #d31991, #d31934);
}
.shadow-d31991 {
box-shadow: 0 8px 24px rgb(211 25 145 / 0.35);
}
Medium Violet Red
#d31991 rgb(211, 25, 145) hsl(321, 79%, 46%) Medium Violet Red
#19d35b rgb(25, 211, 91) hsl(141, 79%, 46%) Malachite
#91d319 rgb(145, 211, 25) hsl(81, 79%, 46%) Yellow Green
#1991d3 rgb(25, 145, 211) hsl(201, 79%, 46%) Bleu de France