#cb02b6 ≈ Medium Violet Red
#cb02b6 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 79.61% red, 0.78% green and 71.37% blue; printed in CMYK it uses 0% cyan, 99.01% magenta, 10.34% yellow and 20.39% black. Its hue angle is 306.27°, with 98.05% saturation and 40.2% 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.97:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 8.85.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc00cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1612 |
Shades
#cb02b6 mixed progressively with black.
Tints
#cb02b6 mixed progressively with white.
Tones
#cb02b6 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cb02b6 {
color: #cb02b6;
}
.bg-cb02b6 {
background-color: #cb02b6;
color: #ffffff;
}
.border-cb02b6 {
border: 2px solid #cb02b6;
}
:root {
--color-primary: #cb02b6;
--color-primary-rgb: 203 2 182;
--color-primary-hsl: 306 98% 40%;
}
.gradient-cb02b6 {
background: linear-gradient(135deg, #cb02b6, #cb0252);
}
.shadow-cb02b6 {
box-shadow: 0 8px 24px rgb(203 2 182 / 0.35);
}
Medium Violet Red
#cb02b6 rgb(203, 2, 182) hsl(306, 98%, 40%) Medium Violet Red
#02cb17 rgb(2, 203, 23) hsl(126, 98%, 40%) Lime Green
#b6cb02 rgb(182, 203, 2) hsl(66, 98%, 40%) Pear
#02b6cb rgb(2, 182, 203) hsl(186, 98%, 40%) Dark Turquoise