#cd024f ≈ Ruby
#cd024f is a color from the rose family, with medium lightness and vivid saturation. In the RGB model it is made of 80.39% red, 0.78% green and 30.98% blue; printed in CMYK it uses 0% cyan, 99.02% magenta, 61.46% yellow and 19.61% black. Its hue angle is 337.24°, with 98.07% saturation and 40.59% 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.65:1 (WCAG AA). The closest named color is Ruby (#e0115f), ΔE 4.89.
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.1359 |
Shades
#cd024f mixed progressively with black.
Tints
#cd024f mixed progressively with white.
Tones
#cd024f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cd024f {
color: #cd024f;
}
.bg-cd024f {
background-color: #cd024f;
color: #ffffff;
}
.border-cd024f {
border: 2px solid #cd024f;
}
:root {
--color-primary: #cd024f;
--color-primary-rgb: 205 2 79;
--color-primary-hsl: 337 98% 41%;
}
.gradient-cd024f {
background: linear-gradient(135deg, #cd024f, #cd1a02);
}
.shadow-cd024f {
box-shadow: 0 8px 24px rgb(205 2 79 / 0.35);
}
Ruby
#cd024f rgb(205, 2, 79) hsl(337, 98%, 41%) Ruby
#02cd80 rgb(2, 205, 128) hsl(157, 98%, 41%) Emerald
#4fcd02 rgb(79, 205, 2) hsl(97, 98%, 41%) Lime Green
#024fcd rgb(2, 79, 205) hsl(217, 98%, 41%) Sapphire