#d311ab ≈ Medium Violet Red
#d311ab is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 82.75% red, 6.67% green and 67.06% blue; printed in CMYK it uses 0% cyan, 91.94% magenta, 18.96% yellow and 17.25% black. Its hue angle is 312.37°, with 85.09% saturation and 44.71% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 4.73:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 6.85.
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.1719 |
Shades
#d311ab mixed progressively with black.
Tints
#d311ab mixed progressively with white.
Tones
#d311ab mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d311ab {
color: #d311ab;
}
.bg-d311ab {
background-color: #d311ab;
color: #ffffff;
}
.border-d311ab {
border: 2px solid #d311ab;
}
:root {
--color-primary: #d311ab;
--color-primary-rgb: 211 17 171;
--color-primary-hsl: 312 85% 45%;
}
.gradient-d311ab {
background: linear-gradient(135deg, #d311ab, #d3114a);
}
.shadow-d311ab {
box-shadow: 0 8px 24px rgb(211 17 171 / 0.35);
}
Medium Violet Red
#d311ab rgb(211, 17, 171) hsl(312, 85%, 45%) Medium Violet Red
#11d339 rgb(17, 211, 57) hsl(132, 85%, 45%) Lime Green
#abd311 rgb(171, 211, 17) hsl(72, 85%, 45%) Yellow Green
#11abd3 rgb(17, 171, 211) hsl(192, 85%, 45%) Bondi Blue