#cf048d ≈ Medium Violet Red
#cf048d is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 81.18% red, 1.57% green and 55.29% blue; printed in CMYK it uses 0% cyan, 98.07% magenta, 31.88% yellow and 18.82% black. Its hue angle is 319.51°, with 96.21% saturation and 41.37% 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.18:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 1.77.
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.1528 |
Shades
#cf048d mixed progressively with black.
Tints
#cf048d mixed progressively with white.
Tones
#cf048d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cf048d {
color: #cf048d;
}
.bg-cf048d {
background-color: #cf048d;
color: #ffffff;
}
.border-cf048d {
border: 2px solid #cf048d;
}
:root {
--color-primary: #cf048d;
--color-primary-rgb: 207 4 141;
--color-primary-hsl: 320 96% 41%;
}
.gradient-cf048d {
background: linear-gradient(135deg, #cf048d, #cf0427);
}
.shadow-cf048d {
box-shadow: 0 8px 24px rgb(207 4 141 / 0.35);
}
Medium Violet Red
#cf048d rgb(207, 4, 141) hsl(320, 96%, 41%) Medium Violet Red
#04cf46 rgb(4, 207, 70) hsl(140, 96%, 41%) Lime Green
#8dcf04 rgb(141, 207, 4) hsl(80, 96%, 41%) Yellow Green
#048dcf rgb(4, 141, 207) hsl(200, 96%, 41%) Steel Blue