#cd2157 ≈ Ruby
#cd2157 is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 80.39% red, 12.94% green and 34.12% blue; printed in CMYK it uses 0% cyan, 83.9% magenta, 57.56% yellow and 19.61% black. Its hue angle is 341.16°, with 72.27% saturation and 46.67% 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.32:1 (WCAG AA). The closest named color is Ruby (#e0115f), ΔE 3.56.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc3366 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1475 |
Shades
#cd2157 mixed progressively with black.
Tints
#cd2157 mixed progressively with white.
Tones
#cd2157 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cd2157 {
color: #cd2157;
}
.bg-cd2157 {
background-color: #cd2157;
color: #ffffff;
}
.border-cd2157 {
border: 2px solid #cd2157;
}
:root {
--color-primary: #cd2157;
--color-primary-rgb: 205 33 87;
--color-primary-hsl: 341 72% 47%;
}
.gradient-cd2157 {
background: linear-gradient(135deg, #cd2157, #cd4121);
}
.shadow-cd2157 {
box-shadow: 0 8px 24px rgb(205 33 87 / 0.35);
}
Ruby
#cd2157 rgb(205, 33, 87) hsl(341, 72%, 47%) Ruby
#21cd97 rgb(33, 205, 151) hsl(161, 72%, 47%) Caribbean Green
#57cd21 rgb(87, 205, 33) hsl(101, 72%, 47%) Lime Green
#2157cd rgb(33, 87, 205) hsl(221, 72%, 47%) Sapphire