#cb024d ≈ Ruby
#cb024d is a color from the rose family, with medium lightness and vivid saturation. In the RGB model it is made of 79.61% red, 0.78% green and 30.2% blue; printed in CMYK it uses 0% cyan, 99.01% magenta, 62.07% yellow and 20.39% black. Its hue angle is 337.61°, with 98.05% saturation and 40.2% lightness in HSL. It is a warm color, 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.75:1 (WCAG AA). The closest named color is Ruby (#e0115f), ΔE 5.41.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc0066 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1328 |
Shades
#cb024d mixed progressively with black.
Tints
#cb024d mixed progressively with white.
Tones
#cb024d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cb024d {
color: #cb024d;
}
.bg-cb024d {
background-color: #cb024d;
color: #ffffff;
}
.border-cb024d {
border: 2px solid #cb024d;
}
:root {
--color-primary: #cb024d;
--color-primary-rgb: 203 2 77;
--color-primary-hsl: 338 98% 40%;
}
.gradient-cb024d {
background: linear-gradient(135deg, #cb024d, #cb1b02);
}
.shadow-cb024d {
box-shadow: 0 8px 24px rgb(203 2 77 / 0.35);
}
Ruby
#cb024d rgb(203, 2, 77) hsl(338, 98%, 40%) Ruby
#02cb80 rgb(2, 203, 128) hsl(158, 98%, 40%) Emerald
#4dcb02 rgb(77, 203, 2) hsl(98, 98%, 40%) Lime Green
#024dcb rgb(2, 77, 203) hsl(218, 98%, 40%) Sapphire