#d2128a ≈ Medium Violet Red
#d2128a is a color from the rose family, with medium lightness and vivid saturation. In the RGB model it is made of 82.35% red, 7.06% green and 54.12% blue; printed in CMYK it uses 0% cyan, 91.43% magenta, 34.29% yellow and 17.65% black. Its hue angle is 322.5°, with 84.21% saturation and 44.71% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 5.01:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 2.25.
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.1597 |
Shades
#d2128a mixed progressively with black.
Tints
#d2128a mixed progressively with white.
Tones
#d2128a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d2128a {
color: #d2128a;
}
.bg-d2128a {
background-color: #d2128a;
color: #ffffff;
}
.border-d2128a {
border: 2px solid #d2128a;
}
:root {
--color-primary: #d2128a;
--color-primary-rgb: 210 18 138;
--color-primary-hsl: 323 84% 45%;
}
.gradient-d2128a {
background: linear-gradient(135deg, #d2128a, #d2122a);
}
.shadow-d2128a {
box-shadow: 0 8px 24px rgb(210 18 138 / 0.35);
}
Medium Violet Red
#d2128a rgb(210, 18, 138) hsl(323, 84%, 45%) Medium Violet Red
#12d25a rgb(18, 210, 90) hsl(143, 84%, 45%) Malachite
#8ad212 rgb(138, 210, 18) hsl(83, 84%, 45%) Yellow Green
#128ad2 rgb(18, 138, 210) hsl(203, 84%, 45%) Bleu de France