#d2128c ≈ Medium Violet Red
#d2128c 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.9% blue; printed in CMYK it uses 0% cyan, 91.43% magenta, 33.33% yellow and 17.65% black. Its hue angle is 321.88°, 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 4.99:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 2.31.
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.1603 |
Shades
#d2128c mixed progressively with black.
Tints
#d2128c mixed progressively with white.
Tones
#d2128c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d2128c {
color: #d2128c;
}
.bg-d2128c {
background-color: #d2128c;
color: #ffffff;
}
.border-d2128c {
border: 2px solid #d2128c;
}
:root {
--color-primary: #d2128c;
--color-primary-rgb: 210 18 140;
--color-primary-hsl: 322 84% 45%;
}
.gradient-d2128c {
background: linear-gradient(135deg, #d2128c, #d2122c);
}
.shadow-d2128c {
box-shadow: 0 8px 24px rgb(210 18 140 / 0.35);
}
Medium Violet Red
#d2128c rgb(210, 18, 140) hsl(322, 84%, 45%) Medium Violet Red
#12d258 rgb(18, 210, 88) hsl(142, 84%, 45%) Malachite
#8cd212 rgb(140, 210, 18) hsl(82, 84%, 45%) Yellow Green
#128cd2 rgb(18, 140, 210) hsl(202, 84%, 45%) Bleu de France