#b42e7d ≈ Medium Violet Red
#b42e7d is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 70.59% red, 18.04% green and 49.02% blue; printed in CMYK it uses 0% cyan, 74.44% magenta, 30.56% yellow and 29.41% black. Its hue angle is 324.63°, with 59.29% saturation and 44.31% 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 brand accents. White text on this color reaches a contrast ratio of 5.79:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 3.33.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc3366 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1314 |
Shades
#b42e7d mixed progressively with black.
Tints
#b42e7d mixed progressively with white.
Tones
#b42e7d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-b42e7d {
color: #b42e7d;
}
.bg-b42e7d {
background-color: #b42e7d;
color: #ffffff;
}
.border-b42e7d {
border: 2px solid #b42e7d;
}
:root {
--color-primary: #b42e7d;
--color-primary-rgb: 180 46 125;
--color-primary-hsl: 325 59% 44%;
}
.gradient-b42e7d {
background: linear-gradient(135deg, #b42e7d, #b42e3a);
}
.shadow-b42e7d {
box-shadow: 0 8px 24px rgb(180 46 125 / 0.35);
}
Medium Violet Red
#b42e7d rgb(180, 46, 125) hsl(325, 59%, 44%) Medium Violet Red
#2eb465 rgb(46, 180, 101) hsl(145, 59%, 44%) Medium Sea Green
#7db42e rgb(125, 180, 46) hsl(85, 59%, 44%) Apple Green
#2e7db4 rgb(46, 125, 180) hsl(205, 59%, 44%) Steel Blue