#cb0c8f ≈ Medium Violet Red
#cb0c8f is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 79.61% red, 4.71% green and 56.08% blue; printed in CMYK it uses 0% cyan, 94.09% magenta, 29.56% yellow and 20.39% black. Its hue angle is 318.85°, with 88.84% saturation and 42.16% 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.27:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 1.93.
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.1494 |
Shades
#cb0c8f mixed progressively with black.
Tints
#cb0c8f mixed progressively with white.
Tones
#cb0c8f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cb0c8f {
color: #cb0c8f;
}
.bg-cb0c8f {
background-color: #cb0c8f;
color: #ffffff;
}
.border-cb0c8f {
border: 2px solid #cb0c8f;
}
:root {
--color-primary: #cb0c8f;
--color-primary-rgb: 203 12 143;
--color-primary-hsl: 319 89% 42%;
}
.gradient-cb0c8f {
background: linear-gradient(135deg, #cb0c8f, #cb0c2f);
}
.shadow-cb0c8f {
box-shadow: 0 8px 24px rgb(203 12 143 / 0.35);
}
Medium Violet Red
#cb0c8f rgb(203, 12, 143) hsl(319, 89%, 42%) Medium Violet Red
#0ccb48 rgb(12, 203, 72) hsl(139, 89%, 42%) Lime Green
#8fcb0c rgb(143, 203, 12) hsl(79, 89%, 42%) Yellow Green
#0c8fcb rgb(12, 143, 203) hsl(199, 89%, 42%) Steel Blue