#b40a92 ≈ Medium Violet Red
#b40a92 is a color from the magenta family, with low lightness and strong saturation. In the RGB model it is made of 70.59% red, 3.92% green and 57.25% blue; printed in CMYK it uses 0% cyan, 94.44% magenta, 18.89% yellow and 29.41% black. Its hue angle is 312°, with 89.47% saturation and 37.25% 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.18:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 6.14.
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.12 |
Shades
#b40a92 mixed progressively with black.
Tints
#b40a92 mixed progressively with white.
Tones
#b40a92 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-b40a92 {
color: #b40a92;
}
.bg-b40a92 {
background-color: #b40a92;
color: #ffffff;
}
.border-b40a92 {
border: 2px solid #b40a92;
}
:root {
--color-primary: #b40a92;
--color-primary-rgb: 180 10 146;
--color-primary-hsl: 312 89% 37%;
}
.gradient-b40a92 {
background: linear-gradient(135deg, #b40a92, #b40a3d);
}
.shadow-b40a92 {
box-shadow: 0 8px 24px rgb(180 10 146 / 0.35);
}
Medium Violet Red
#b40a92 rgb(180, 10, 146) hsl(312, 89%, 37%) Medium Violet Red
#0ab42c rgb(10, 180, 44) hsl(132, 89%, 37%) Kelly Green
#92b40a rgb(146, 180, 10) hsl(72, 89%, 37%) Apple Green
#0a92b4 rgb(10, 146, 180) hsl(192, 89%, 37%) Bondi Blue