#b4008a ≈ Medium Violet Red
#b4008a is a color from the magenta family, with low lightness and strong saturation. In the RGB model it is made of 70.59% red, 0% green and 54.12% blue; printed in CMYK it uses 0% cyan, 100% magenta, 23.33% yellow and 29.41% black. Its hue angle is 314°, with 100% saturation and 35.29% 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 5.48.
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.1154 |
Shades
#b4008a mixed progressively with black.
Tints
#b4008a mixed progressively with white.
Tones
#b4008a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-b4008a {
color: #b4008a;
}
.bg-b4008a {
background-color: #b4008a;
color: #ffffff;
}
.border-b4008a {
border: 2px solid #b4008a;
}
:root {
--color-primary: #b4008a;
--color-primary-rgb: 180 0 138;
--color-primary-hsl: 314 100% 35%;
}
.gradient-b4008a {
background: linear-gradient(135deg, #b4008a, #b40030);
}
.shadow-b4008a {
box-shadow: 0 8px 24px rgb(180 0 138 / 0.35);
}
Medium Violet Red
#b4008a rgb(180, 0, 138) hsl(314, 100%, 35%) Medium Violet Red
#00b42a rgb(0, 180, 42) hsl(134, 100%, 35%) Kelly Green
#8ab400 rgb(138, 180, 0) hsl(74, 100%, 35%) Apple Green
#008ab4 rgb(0, 138, 180) hsl(194, 100%, 35%) Bondi Blue