#b40874 ≈ Medium Violet Red
#b40874 is a color from the rose family, with low lightness and strong saturation. In the RGB model it is made of 70.59% red, 3.14% green and 45.49% blue; printed in CMYK it uses 0% cyan, 95.56% magenta, 35.56% yellow and 29.41% black. Its hue angle is 322.33°, with 91.49% saturation and 36.86% 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 6.51:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 4.69.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc0066 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1114 |
Shades
#b40874 mixed progressively with black.
Tints
#b40874 mixed progressively with white.
Tones
#b40874 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-b40874 {
color: #b40874;
}
.bg-b40874 {
background-color: #b40874;
color: #ffffff;
}
.border-b40874 {
border: 2px solid #b40874;
}
:root {
--color-primary: #b40874;
--color-primary-rgb: 180 8 116;
--color-primary-hsl: 322 91% 37%;
}
.gradient-b40874 {
background: linear-gradient(135deg, #b40874, #b4081e);
}
.shadow-b40874 {
box-shadow: 0 8px 24px rgb(180 8 116 / 0.35);
}
Medium Violet Red
#b40874 rgb(180, 8, 116) hsl(322, 91%, 37%) Medium Violet Red
#08b448 rgb(8, 180, 72) hsl(142, 91%, 37%) Medium Sea Green
#74b408 rgb(116, 180, 8) hsl(82, 91%, 37%) Apple Green
#0874b4 rgb(8, 116, 180) hsl(202, 91%, 37%) French Blue