#d31387 ≈ Medium Violet Red
#d31387 is a color from the rose family, with medium lightness and vivid saturation. In the RGB model it is made of 82.75% red, 7.45% green and 52.94% blue; printed in CMYK it uses 0% cyan, 91% magenta, 36.02% yellow and 17.25% black. Its hue angle is 323.75°, with 83.48% saturation and 45.1% 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.98:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 2.56.
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.1606 |
Shades
#d31387 mixed progressively with black.
Tints
#d31387 mixed progressively with white.
Tones
#d31387 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d31387 {
color: #d31387;
}
.bg-d31387 {
background-color: #d31387;
color: #ffffff;
}
.border-d31387 {
border: 2px solid #d31387;
}
:root {
--color-primary: #d31387;
--color-primary-rgb: 211 19 135;
--color-primary-hsl: 324 83% 45%;
}
.gradient-d31387 {
background: linear-gradient(135deg, #d31387, #d31327);
}
.shadow-d31387 {
box-shadow: 0 8px 24px rgb(211 19 135 / 0.35);
}
Medium Violet Red
#d31387 rgb(211, 19, 135) hsl(324, 83%, 45%) Medium Violet Red
#13d35f rgb(19, 211, 95) hsl(144, 83%, 45%) Malachite
#87d313 rgb(135, 211, 19) hsl(84, 83%, 45%) Yellow Green
#1387d3 rgb(19, 135, 211) hsl(204, 83%, 45%) Bleu de France