#d40586 ≈ Medium Violet Red
#d40586 is a color from the rose family, with medium lightness and vivid saturation. In the RGB model it is made of 83.14% red, 1.96% green and 52.55% blue; printed in CMYK it uses 0% cyan, 97.64% magenta, 36.79% yellow and 16.86% black. Its hue angle is 322.61°, with 95.39% saturation and 42.55% 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 5.04:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 2.49.
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.1583 |
Shades
#d40586 mixed progressively with black.
Tints
#d40586 mixed progressively with white.
Tones
#d40586 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d40586 {
color: #d40586;
}
.bg-d40586 {
background-color: #d40586;
color: #ffffff;
}
.border-d40586 {
border: 2px solid #d40586;
}
:root {
--color-primary: #d40586;
--color-primary-rgb: 212 5 134;
--color-primary-hsl: 323 95% 43%;
}
.gradient-d40586 {
background: linear-gradient(135deg, #d40586, #d4051e);
}
.shadow-d40586 {
box-shadow: 0 8px 24px rgb(212 5 134 / 0.35);
}
Medium Violet Red
#d40586 rgb(212, 5, 134) hsl(323, 95%, 43%) Medium Violet Red
#05d453 rgb(5, 212, 83) hsl(143, 95%, 43%) Malachite
#86d405 rgb(134, 212, 5) hsl(83, 95%, 43%) Yellow Green
#0586d4 rgb(5, 134, 212) hsl(203, 95%, 43%) Steel Blue