#d2138b ≈ Medium Violet Red
#d2138b is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 82.35% red, 7.45% green and 54.51% blue; printed in CMYK it uses 0% cyan, 90.95% magenta, 33.81% yellow and 17.65% black. Its hue angle is 322.3°, with 83.41% saturation and 44.9% 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.3.
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
#d2138b mixed progressively with black.
Tints
#d2138b mixed progressively with white.
Tones
#d2138b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d2138b {
color: #d2138b;
}
.bg-d2138b {
background-color: #d2138b;
color: #ffffff;
}
.border-d2138b {
border: 2px solid #d2138b;
}
:root {
--color-primary: #d2138b;
--color-primary-rgb: 210 19 139;
--color-primary-hsl: 322 83% 45%;
}
.gradient-d2138b {
background: linear-gradient(135deg, #d2138b, #d2132c);
}
.shadow-d2138b {
box-shadow: 0 8px 24px rgb(210 19 139 / 0.35);
}
Medium Violet Red
#d2138b rgb(210, 19, 139) hsl(322, 83%, 45%) Medium Violet Red
#13d25a rgb(19, 210, 90) hsl(142, 83%, 45%) Malachite
#8bd213 rgb(139, 210, 19) hsl(82, 83%, 45%) Yellow Green
#138bd2 rgb(19, 139, 210) hsl(202, 83%, 45%) Bleu de France