#d31daa ≈ Medium Violet Red
#d31daa 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 66.67% blue; printed in CMYK it uses 0% cyan, 86.26% magenta, 19.43% yellow and 17.25% black. Its hue angle is 313.52°, 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.64:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 6.81.
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.1763 |
Shades
#d31daa mixed progressively with black.
Tints
#d31daa mixed progressively with white.
Tones
#d31daa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d31daa {
color: #d31daa;
}
.bg-d31daa {
background-color: #d31daa;
color: #ffffff;
}
.border-d31daa {
border: 2px solid #d31daa;
}
:root {
--color-primary: #d31daa;
--color-primary-rgb: 211 29 170;
--color-primary-hsl: 314 76% 47%;
}
.gradient-d31daa {
background: linear-gradient(135deg, #d31daa, #d31d4f);
}
.shadow-d31daa {
box-shadow: 0 8px 24px rgb(211 29 170 / 0.35);
}
Medium Violet Red
#d31daa rgb(211, 29, 170) hsl(314, 76%, 47%) Medium Violet Red
#1dd346 rgb(29, 211, 70) hsl(134, 76%, 47%) Malachite
#aad31d rgb(170, 211, 29) hsl(74, 76%, 47%) Yellow Green
#1daad3 rgb(29, 170, 211) hsl(194, 76%, 47%) Moonstone Blue