#cf04b2 ≈ Medium Violet Red
#cf04b2 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 69.8% blue; printed in CMYK it uses 0% cyan, 98.07% magenta, 14.01% yellow and 18.82% black. Its hue angle is 308.57°, 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 4.87:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 8.02.
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.1657 |
Shades
#cf04b2 mixed progressively with black.
Tints
#cf04b2 mixed progressively with white.
Tones
#cf04b2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cf04b2 {
color: #cf04b2;
}
.bg-cf04b2 {
background-color: #cf04b2;
color: #ffffff;
}
.border-cf04b2 {
border: 2px solid #cf04b2;
}
:root {
--color-primary: #cf04b2;
--color-primary-rgb: 207 4 178;
--color-primary-hsl: 309 96% 41%;
}
.gradient-cf04b2 {
background: linear-gradient(135deg, #cf04b2, #cf044c);
}
.shadow-cf04b2 {
box-shadow: 0 8px 24px rgb(207 4 178 / 0.35);
}
Medium Violet Red
#cf04b2 rgb(207, 4, 178) hsl(309, 96%, 41%) Medium Violet Red
#04cf21 rgb(4, 207, 33) hsl(129, 96%, 41%) Lime Green
#b2cf04 rgb(178, 207, 4) hsl(69, 96%, 41%) June Bud
#04b2cf rgb(4, 178, 207) hsl(189, 96%, 41%) Moonstone Blue