#d12bad ≈ Medium Violet Red
#d12bad is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 81.96% red, 16.86% green and 67.84% blue; printed in CMYK it uses 0% cyan, 79.43% magenta, 17.22% yellow and 18.04% black. Its hue angle is 313.01°, with 65.87% saturation and 49.41% 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. Black 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.58.
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.183 |
Shades
#d12bad mixed progressively with black.
Tints
#d12bad mixed progressively with white.
Tones
#d12bad mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d12bad {
color: #d12bad;
}
.bg-d12bad {
background-color: #d12bad;
color: #000000;
}
.border-d12bad {
border: 2px solid #d12bad;
}
:root {
--color-primary: #d12bad;
--color-primary-rgb: 209 43 173;
--color-primary-hsl: 313 66% 49%;
}
.gradient-d12bad {
background: linear-gradient(135deg, #d12bad, #d12b5a);
}
.shadow-d12bad {
box-shadow: 0 8px 24px rgb(209 43 173 / 0.35);
}
Medium Violet Red
#d12bad rgb(209, 43, 173) hsl(313, 66%, 49%) Medium Violet Red
#2bd14f rgb(43, 209, 79) hsl(133, 66%, 49%) Malachite
#add12b rgb(173, 209, 43) hsl(73, 66%, 49%) Yellow Green
#2badd1 rgb(43, 173, 209) hsl(193, 66%, 49%) Moonstone Blue