#d31da2 ≈ Medium Violet Red
#d31da2 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 82.75% red, 11.37% green and 63.53% blue; printed in CMYK it uses 0% cyan, 86.26% magenta, 23.22% yellow and 17.25% black. Its hue angle is 316.15°, with 75.83% saturation and 47.06% 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 brand accents. White text on this color reaches a contrast ratio of 4.7:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 5.52.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc3399 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1734 |
Shades
#d31da2 mixed progressively with black.
Tints
#d31da2 mixed progressively with white.
Tones
#d31da2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d31da2 {
color: #d31da2;
}
.bg-d31da2 {
background-color: #d31da2;
color: #ffffff;
}
.border-d31da2 {
border: 2px solid #d31da2;
}
:root {
--color-primary: #d31da2;
--color-primary-rgb: 211 29 162;
--color-primary-hsl: 316 76% 47%;
}
.gradient-d31da2 {
background: linear-gradient(135deg, #d31da2, #d31d47);
}
.shadow-d31da2 {
box-shadow: 0 8px 24px rgb(211 29 162 / 0.35);
}
Medium Violet Red
#d31da2 rgb(211, 29, 162) hsl(316, 76%, 47%) Medium Violet Red
#1dd34e rgb(29, 211, 78) hsl(136, 76%, 47%) Malachite
#a2d31d rgb(162, 211, 29) hsl(76, 76%, 47%) Yellow Green
#1da2d3 rgb(29, 162, 211) hsl(196, 76%, 47%) Carolina Blue