#cc2156 ≈ Ruby
#cc2156 is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 80% red, 12.94% green and 33.73% blue; printed in CMYK it uses 0% cyan, 83.82% magenta, 57.84% yellow and 20% black. Its hue angle is 341.4°, with 72.15% saturation and 46.47% 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.36:1 (WCAG AA). The closest named color is Ruby (#e0115f), ΔE 3.81.
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.146 |
Shades
#cc2156 mixed progressively with black.
Tints
#cc2156 mixed progressively with white.
Tones
#cc2156 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cc2156 {
color: #cc2156;
}
.bg-cc2156 {
background-color: #cc2156;
color: #ffffff;
}
.border-cc2156 {
border: 2px solid #cc2156;
}
:root {
--color-primary: #cc2156;
--color-primary-rgb: 204 33 86;
--color-primary-hsl: 341 72% 46%;
}
.gradient-cc2156 {
background: linear-gradient(135deg, #cc2156, #cc4121);
}
.shadow-cc2156 {
box-shadow: 0 8px 24px rgb(204 33 86 / 0.35);
}
Ruby
#cc2156 rgb(204, 33, 86) hsl(341, 72%, 46%) Ruby
#21cc97 rgb(33, 204, 151) hsl(161, 72%, 46%) Caribbean Green
#56cc21 rgb(86, 204, 33) hsl(101, 72%, 46%) Lime Green
#2156cc rgb(33, 86, 204) hsl(221, 72%, 46%) Sapphire