#cf024e ≈ Ruby
#cf024e is a color from the rose family, with medium lightness and vivid saturation. In the RGB model it is made of 81.18% red, 0.78% green and 30.59% blue; printed in CMYK it uses 0% cyan, 99.03% magenta, 62.32% yellow and 18.82% black. Its hue angle is 337.76°, with 98.09% saturation and 40.98% 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.57:1 (WCAG AA). The closest named color is Ruby (#e0115f), ΔE 4.74.
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.1386 |
Shades
#cf024e mixed progressively with black.
Tints
#cf024e mixed progressively with white.
Tones
#cf024e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cf024e {
color: #cf024e;
}
.bg-cf024e {
background-color: #cf024e;
color: #ffffff;
}
.border-cf024e {
border: 2px solid #cf024e;
}
:root {
--color-primary: #cf024e;
--color-primary-rgb: 207 2 78;
--color-primary-hsl: 338 98% 41%;
}
.gradient-cf024e {
background: linear-gradient(135deg, #cf024e, #cf1d02);
}
.shadow-cf024e {
box-shadow: 0 8px 24px rgb(207 2 78 / 0.35);
}
Ruby
#cf024e rgb(207, 2, 78) hsl(338, 98%, 41%) Ruby
#02cf83 rgb(2, 207, 131) hsl(158, 98%, 41%) Emerald
#4ecf02 rgb(78, 207, 2) hsl(98, 98%, 41%) Lime Green
#024ecf rgb(2, 78, 207) hsl(218, 98%, 41%) Sapphire