#cf078a ≈ Medium Violet Red
#cf078a is a color from the rose family, with medium lightness and vivid saturation. In the RGB model it is made of 81.18% red, 2.75% green and 54.12% blue; printed in CMYK it uses 0% cyan, 96.62% magenta, 33.33% yellow and 18.82% black. Its hue angle is 320.7°, with 93.46% saturation and 41.96% 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.18:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 1.47.
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.1525 |
Shades
#cf078a mixed progressively with black.
Tints
#cf078a mixed progressively with white.
Tones
#cf078a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cf078a {
color: #cf078a;
}
.bg-cf078a {
background-color: #cf078a;
color: #ffffff;
}
.border-cf078a {
border: 2px solid #cf078a;
}
:root {
--color-primary: #cf078a;
--color-primary-rgb: 207 7 138;
--color-primary-hsl: 321 93% 42%;
}
.gradient-cf078a {
background: linear-gradient(135deg, #cf078a, #cf0726);
}
.shadow-cf078a {
box-shadow: 0 8px 24px rgb(207 7 138 / 0.35);
}
Medium Violet Red
#cf078a rgb(207, 7, 138) hsl(321, 93%, 42%) Medium Violet Red
#07cf4c rgb(7, 207, 76) hsl(141, 93%, 42%) Malachite
#8acf07 rgb(138, 207, 7) hsl(81, 93%, 42%) Yellow Green
#078acf rgb(7, 138, 207) hsl(201, 93%, 42%) Steel Blue