#cf0299 ≈ Medium Violet Red
#cf0299 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 81.18% red, 0.78% green and 60% blue; printed in CMYK it uses 0% cyan, 99.03% magenta, 26.09% yellow and 18.82% black. Its hue angle is 315.8°, with 98.09% saturation and 40.98% 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.09:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 3.74.
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.1561 |
Shades
#cf0299 mixed progressively with black.
Tints
#cf0299 mixed progressively with white.
Tones
#cf0299 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cf0299 {
color: #cf0299;
}
.bg-cf0299 {
background-color: #cf0299;
color: #ffffff;
}
.border-cf0299 {
border: 2px solid #cf0299;
}
:root {
--color-primary: #cf0299;
--color-primary-rgb: 207 2 153;
--color-primary-hsl: 316 98% 41%;
}
.gradient-cf0299 {
background: linear-gradient(135deg, #cf0299, #cf0233);
}
.shadow-cf0299 {
box-shadow: 0 8px 24px rgb(207 2 153 / 0.35);
}
Medium Violet Red
#cf0299 rgb(207, 2, 153) hsl(316, 98%, 41%) Medium Violet Red
#02cf38 rgb(2, 207, 56) hsl(136, 98%, 41%) Lime Green
#99cf02 rgb(153, 207, 2) hsl(76, 98%, 41%) Yellow Green
#0299cf rgb(2, 153, 207) hsl(196, 98%, 41%) Carolina Blue