#d31a96 ≈ Medium Violet Red
#d31a96 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 82.75% red, 10.2% green and 58.82% blue; printed in CMYK it uses 0% cyan, 87.68% magenta, 28.91% yellow and 17.25% black. Its hue angle is 319.78°, with 78.06% saturation and 46.47% 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.82:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 3.67.
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.1679 |
Shades
#d31a96 mixed progressively with black.
Tints
#d31a96 mixed progressively with white.
Tones
#d31a96 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d31a96 {
color: #d31a96;
}
.bg-d31a96 {
background-color: #d31a96;
color: #ffffff;
}
.border-d31a96 {
border: 2px solid #d31a96;
}
:root {
--color-primary: #d31a96;
--color-primary-rgb: 211 26 150;
--color-primary-hsl: 320 78% 46%;
}
.gradient-d31a96 {
background: linear-gradient(135deg, #d31a96, #d31a3a);
}
.shadow-d31a96 {
box-shadow: 0 8px 24px rgb(211 26 150 / 0.35);
}
Medium Violet Red
#d31a96 rgb(211, 26, 150) hsl(320, 78%, 46%) Medium Violet Red
#1ad357 rgb(26, 211, 87) hsl(140, 78%, 46%) Malachite
#96d31a rgb(150, 211, 26) hsl(80, 78%, 46%) Yellow Green
#1a96d3 rgb(26, 150, 211) hsl(200, 78%, 46%) Carolina Blue