#d7138d ≈ Medium Violet Red
#d7138d is a color from the rose family, with medium lightness and vivid saturation. In the RGB model it is made of 84.31% red, 7.45% green and 55.29% blue; printed in CMYK it uses 0% cyan, 91.16% magenta, 34.42% yellow and 15.69% black. Its hue angle is 322.65°, with 83.76% saturation and 45.88% 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.81:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 3.38.
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.1684 |
Shades
#d7138d mixed progressively with black.
Tints
#d7138d mixed progressively with white.
Tones
#d7138d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d7138d {
color: #d7138d;
}
.bg-d7138d {
background-color: #d7138d;
color: #ffffff;
}
.border-d7138d {
border: 2px solid #d7138d;
}
:root {
--color-primary: #d7138d;
--color-primary-rgb: 215 19 141;
--color-primary-hsl: 323 84% 46%;
}
.gradient-d7138d {
background: linear-gradient(135deg, #d7138d, #d7132b);
}
.shadow-d7138d {
box-shadow: 0 8px 24px rgb(215 19 141 / 0.35);
}
Medium Violet Red
#d7138d rgb(215, 19, 141) hsl(323, 84%, 46%) Medium Violet Red
#13d75d rgb(19, 215, 93) hsl(143, 84%, 46%) Malachite
#8dd713 rgb(141, 215, 19) hsl(83, 84%, 46%) Yellow Green
#138dd7 rgb(19, 141, 215) hsl(203, 84%, 46%) Bleu de France