#d12e8d ≈ Medium Violet Red
#d12e8d is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 81.96% red, 18.04% green and 55.29% blue; printed in CMYK it uses 0% cyan, 77.99% magenta, 32.54% yellow and 18.04% black. Its hue angle is 325.03°, with 63.92% saturation and 50% lightness in HSL. It sits between warm and cool, and is often associated with romance, playfulness and affection. Designers typically use it for food and restaurant brands, sales and promotions and brand accents. White text on this color reaches a contrast ratio of 4.68:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 3.99.
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.1743 |
Shades
#d12e8d mixed progressively with black.
Tints
#d12e8d mixed progressively with white.
Tones
#d12e8d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d12e8d {
color: #d12e8d;
}
.bg-d12e8d {
background-color: #d12e8d;
color: #ffffff;
}
.border-d12e8d {
border: 2px solid #d12e8d;
}
:root {
--color-primary: #d12e8d;
--color-primary-rgb: 209 46 141;
--color-primary-hsl: 325 64% 50%;
}
.gradient-d12e8d {
background: linear-gradient(135deg, #d12e8d, #d12e3c);
}
.shadow-d12e8d {
box-shadow: 0 8px 24px rgb(209 46 141 / 0.35);
}
Medium Violet Red
#d12e8d rgb(209, 46, 141) hsl(325, 64%, 50%) Medium Violet Red
#2ed172 rgb(46, 209, 114) hsl(145, 64%, 50%) Emerald
#8dd12e rgb(141, 209, 46) hsl(85, 64%, 50%) Yellow Green
#2e8dd1 rgb(46, 141, 209) hsl(205, 64%, 50%) Bleu de France