#cd1851 ≈ Ruby
#cd1851 is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 80.39% red, 9.41% green and 31.76% blue; printed in CMYK it uses 0% cyan, 88.29% magenta, 60.49% yellow and 19.61% black. Its hue angle is 341.1°, with 79.04% saturation and 44.9% 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 brand accents. White text on this color reaches a contrast ratio of 5.46:1 (WCAG AA). The closest named color is Ruby (#e0115f), ΔE 4.35.
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.1423 |
Shades
#cd1851 mixed progressively with black.
Tints
#cd1851 mixed progressively with white.
Tones
#cd1851 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cd1851 {
color: #cd1851;
}
.bg-cd1851 {
background-color: #cd1851;
color: #ffffff;
}
.border-cd1851 {
border: 2px solid #cd1851;
}
:root {
--color-primary: #cd1851;
--color-primary-rgb: 205 24 81;
--color-primary-hsl: 341 79% 45%;
}
.gradient-cd1851 {
background: linear-gradient(135deg, #cd1851, #cd3918);
}
.shadow-cd1851 {
box-shadow: 0 8px 24px rgb(205 24 81 / 0.35);
}
Ruby
#cd1851 rgb(205, 24, 81) hsl(341, 79%, 45%) Ruby
#18cd94 rgb(24, 205, 148) hsl(161, 79%, 45%) Caribbean Green
#51cd18 rgb(81, 205, 24) hsl(101, 79%, 45%) Lime Green
#1851cd rgb(24, 81, 205) hsl(221, 79%, 45%) Sapphire