#d40eaf ≈ Medium Violet Red
#d40eaf is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 83.14% red, 5.49% green and 68.63% blue; printed in CMYK it uses 0% cyan, 93.4% magenta, 17.45% yellow and 16.86% black. Its hue angle is 311.21°, with 87.61% saturation and 44.31% 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.69:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 7.49.
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.1741 |
Shades
#d40eaf mixed progressively with black.
Tints
#d40eaf mixed progressively with white.
Tones
#d40eaf mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d40eaf {
color: #d40eaf;
}
.bg-d40eaf {
background-color: #d40eaf;
color: #ffffff;
}
.border-d40eaf {
border: 2px solid #d40eaf;
}
:root {
--color-primary: #d40eaf;
--color-primary-rgb: 212 14 175;
--color-primary-hsl: 311 88% 44%;
}
.gradient-d40eaf {
background: linear-gradient(135deg, #d40eaf, #d40e4c);
}
.shadow-d40eaf {
box-shadow: 0 8px 24px rgb(212 14 175 / 0.35);
}
Medium Violet Red
#d40eaf rgb(212, 14, 175) hsl(311, 88%, 44%) Medium Violet Red
#0ed433 rgb(14, 212, 51) hsl(131, 88%, 44%) Lime Green
#afd40e rgb(175, 212, 14) hsl(71, 88%, 44%) Yellow Green
#0eafd4 rgb(14, 175, 212) hsl(191, 88%, 44%) Moonstone Blue