#c51f4e ≈ Ruby
#c51f4e is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 77.25% red, 12.16% green and 30.59% blue; printed in CMYK it uses 0% cyan, 84.26% magenta, 60.41% yellow and 22.75% black. Its hue angle is 343.01°, with 72.81% saturation and 44.71% 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.71:1 (WCAG AA). The closest named color is Ruby (#e0115f), ΔE 5.76.
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.134 |
Shades
#c51f4e mixed progressively with black.
Tints
#c51f4e mixed progressively with white.
Tones
#c51f4e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c51f4e {
color: #c51f4e;
}
.bg-c51f4e {
background-color: #c51f4e;
color: #ffffff;
}
.border-c51f4e {
border: 2px solid #c51f4e;
}
:root {
--color-primary: #c51f4e;
--color-primary-rgb: 197 31 78;
--color-primary-hsl: 343 73% 45%;
}
.gradient-c51f4e {
background: linear-gradient(135deg, #c51f4e, #c5431f);
}
.shadow-c51f4e {
box-shadow: 0 8px 24px rgb(197 31 78 / 0.35);
}
Ruby
#c51f4e rgb(197, 31, 78) hsl(343, 73%, 45%) Ruby
#1fc596 rgb(31, 197, 150) hsl(163, 73%, 45%) Caribbean Green
#4ec51f rgb(78, 197, 31) hsl(103, 73%, 45%) Kelly Green
#1f4ec5 rgb(31, 78, 197) hsl(223, 73%, 45%) Sapphire