#d412af ≈ Medium Violet Red
#d412af is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 83.14% red, 7.06% green and 68.63% blue; printed in CMYK it uses 0% cyan, 91.51% magenta, 17.45% yellow and 16.86% black. Its hue angle is 311.44°, with 84.35% saturation and 45.1% 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.66:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 7.52.
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.1752 |
Shades
#d412af mixed progressively with black.
Tints
#d412af mixed progressively with white.
Tones
#d412af mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d412af {
color: #d412af;
}
.bg-d412af {
background-color: #d412af;
color: #ffffff;
}
.border-d412af {
border: 2px solid #d412af;
}
:root {
--color-primary: #d412af;
--color-primary-rgb: 212 18 175;
--color-primary-hsl: 311 84% 45%;
}
.gradient-d412af {
background: linear-gradient(135deg, #d412af, #d4124e);
}
.shadow-d412af {
box-shadow: 0 8px 24px rgb(212 18 175 / 0.35);
}
Medium Violet Red
#d412af rgb(212, 18, 175) hsl(311, 84%, 45%) Medium Violet Red
#12d437 rgb(18, 212, 55) hsl(131, 84%, 45%) Lime Green
#afd412 rgb(175, 212, 18) hsl(71, 84%, 45%) Yellow Green
#12afd4 rgb(18, 175, 212) hsl(191, 84%, 45%) Moonstone Blue