#b40586 ≈ Medium Violet Red
#b40586 is a color from the magenta family, with low lightness and strong saturation. In the RGB model it is made of 70.59% red, 1.96% green and 52.55% blue; printed in CMYK it uses 0% cyan, 97.22% magenta, 25.56% yellow and 29.41% black. Its hue angle is 315.77°, with 94.59% saturation and 36.27% lightness in HSL. It sits between warm and cool, and is often associated with creativity, boldness and individuality. Designers typically use it for beauty and cosmetics, creative studios and call-to-action buttons. White text on this color reaches a contrast ratio of 6.35:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 4.96.
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.1153 |
Shades
#b40586 mixed progressively with black.
Tints
#b40586 mixed progressively with white.
Tones
#b40586 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-b40586 {
color: #b40586;
}
.bg-b40586 {
background-color: #b40586;
color: #ffffff;
}
.border-b40586 {
border: 2px solid #b40586;
}
:root {
--color-primary: #b40586;
--color-primary-rgb: 180 5 134;
--color-primary-hsl: 316 95% 36%;
}
.gradient-b40586 {
background: linear-gradient(135deg, #b40586, #b4052f);
}
.shadow-b40586 {
box-shadow: 0 8px 24px rgb(180 5 134 / 0.35);
}
Medium Violet Red
#b40586 rgb(180, 5, 134) hsl(316, 95%, 36%) Medium Violet Red
#05b433 rgb(5, 180, 51) hsl(136, 95%, 36%) Kelly Green
#86b405 rgb(134, 180, 5) hsl(76, 95%, 36%) Apple Green
#0586b4 rgb(5, 134, 180) hsl(196, 95%, 36%) Cerulean