#cf048a ≈ Medium Violet Red
#cf048a is a color from the rose family, with medium lightness and vivid saturation. In the RGB model it is made of 81.18% red, 1.57% green and 54.12% blue; printed in CMYK it uses 0% cyan, 98.07% magenta, 33.33% yellow and 18.82% black. Its hue angle is 320.39°, with 96.21% saturation and 41.37% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 5.2:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 1.45.
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.1519 |
Shades
#cf048a mixed progressively with black.
Tints
#cf048a mixed progressively with white.
Tones
#cf048a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cf048a {
color: #cf048a;
}
.bg-cf048a {
background-color: #cf048a;
color: #ffffff;
}
.border-cf048a {
border: 2px solid #cf048a;
}
:root {
--color-primary: #cf048a;
--color-primary-rgb: 207 4 138;
--color-primary-hsl: 320 96% 41%;
}
.gradient-cf048a {
background: linear-gradient(135deg, #cf048a, #cf0425);
}
.shadow-cf048a {
box-shadow: 0 8px 24px rgb(207 4 138 / 0.35);
}
Medium Violet Red
#cf048a rgb(207, 4, 138) hsl(320, 96%, 41%) Medium Violet Red
#04cf49 rgb(4, 207, 73) hsl(140, 96%, 41%) Malachite
#8acf04 rgb(138, 207, 4) hsl(80, 96%, 41%) Yellow Green
#048acf rgb(4, 138, 207) hsl(200, 96%, 41%) Steel Blue