#cb048e ≈ Medium Violet Red
#cb048e is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 79.61% red, 1.57% green and 55.69% blue; printed in CMYK it uses 0% cyan, 98.03% magenta, 30.05% yellow and 20.39% black. Its hue angle is 318.39°, with 96.14% saturation and 40.59% 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 5.32:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 1.82.
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.1474 |
Shades
#cb048e mixed progressively with black.
Tints
#cb048e mixed progressively with white.
Tones
#cb048e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cb048e {
color: #cb048e;
}
.bg-cb048e {
background-color: #cb048e;
color: #ffffff;
}
.border-cb048e {
border: 2px solid #cb048e;
}
:root {
--color-primary: #cb048e;
--color-primary-rgb: 203 4 142;
--color-primary-hsl: 318 96% 41%;
}
.gradient-cb048e {
background: linear-gradient(135deg, #cb048e, #cb042b);
}
.shadow-cb048e {
box-shadow: 0 8px 24px rgb(203 4 142 / 0.35);
}
Medium Violet Red
#cb048e rgb(203, 4, 142) hsl(318, 96%, 41%) Medium Violet Red
#04cb41 rgb(4, 203, 65) hsl(138, 96%, 41%) Lime Green
#8ecb04 rgb(142, 203, 4) hsl(78, 96%, 41%) Yellow Green
#048ecb rgb(4, 142, 203) hsl(198, 96%, 41%) Steel Blue