#d31291 ≈ Medium Violet Red
#d31291 is a color from the rose family, with medium lightness and vivid saturation. In the RGB model it is made of 82.75% red, 7.06% green and 56.86% blue; printed in CMYK it uses 0% cyan, 91.47% magenta, 31.28% yellow and 17.25% black. Its hue angle is 320.52°, with 84.28% saturation and 44.9% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 4.92:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 2.87.
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.1633 |
Shades
#d31291 mixed progressively with black.
Tints
#d31291 mixed progressively with white.
Tones
#d31291 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d31291 {
color: #d31291;
}
.bg-d31291 {
background-color: #d31291;
color: #ffffff;
}
.border-d31291 {
border: 2px solid #d31291;
}
:root {
--color-primary: #d31291;
--color-primary-rgb: 211 18 145;
--color-primary-hsl: 321 84% 45%;
}
.gradient-d31291 {
background: linear-gradient(135deg, #d31291, #d31230);
}
.shadow-d31291 {
box-shadow: 0 8px 24px rgb(211 18 145 / 0.35);
}
Medium Violet Red
#d31291 rgb(211, 18, 145) hsl(321, 84%, 45%) Medium Violet Red
#12d354 rgb(18, 211, 84) hsl(141, 84%, 45%) Malachite
#91d312 rgb(145, 211, 18) hsl(81, 84%, 45%) Yellow Green
#1291d3 rgb(18, 145, 211) hsl(201, 84%, 45%) Bleu de France