#d71287 ≈ Medium Violet Red
#d71287 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.06% green and 52.94% blue; printed in CMYK it uses 0% cyan, 91.63% magenta, 37.21% yellow and 15.69% black. Its hue angle is 324.37°, with 84.55% saturation and 45.69% 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.85:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 3.45.
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.1663 |
Shades
#d71287 mixed progressively with black.
Tints
#d71287 mixed progressively with white.
Tones
#d71287 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d71287 {
color: #d71287;
}
.bg-d71287 {
background-color: #d71287;
color: #ffffff;
}
.border-d71287 {
border: 2px solid #d71287;
}
:root {
--color-primary: #d71287;
--color-primary-rgb: 215 18 135;
--color-primary-hsl: 324 85% 46%;
}
.gradient-d71287 {
background: linear-gradient(135deg, #d71287, #d71224);
}
.shadow-d71287 {
box-shadow: 0 8px 24px rgb(215 18 135 / 0.35);
}
Medium Violet Red
#d71287 rgb(215, 18, 135) hsl(324, 85%, 46%) Medium Violet Red
#12d762 rgb(18, 215, 98) hsl(144, 85%, 46%) Malachite
#87d712 rgb(135, 215, 18) hsl(84, 85%, 46%) Yellow Green
#1287d7 rgb(18, 135, 215) hsl(204, 85%, 46%) Bleu de France