#d42d5c ≈ Ruby
#d42d5c is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 83.14% red, 17.65% green and 36.08% blue; printed in CMYK it uses 0% cyan, 78.77% magenta, 56.6% yellow and 16.86% black. Its hue angle is 343.11°, with 66.01% saturation and 50.39% 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 4.85:1 (WCAG AA). The closest named color is Ruby (#e0115f), ΔE 2.33.
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.1665 |
Shades
#d42d5c mixed progressively with black.
Tints
#d42d5c mixed progressively with white.
Tones
#d42d5c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d42d5c {
color: #d42d5c;
}
.bg-d42d5c {
background-color: #d42d5c;
color: #ffffff;
}
.border-d42d5c {
border: 2px solid #d42d5c;
}
:root {
--color-primary: #d42d5c;
--color-primary-rgb: 212 45 92;
--color-primary-hsl: 343 66% 50%;
}
.gradient-d42d5c {
background: linear-gradient(135deg, #d42d5c, #d4512d);
}
.shadow-d42d5c {
box-shadow: 0 8px 24px rgb(212 45 92 / 0.35);
}
Ruby
#d42d5c rgb(212, 45, 92) hsl(343, 66%, 50%) Ruby
#2dd4a5 rgb(45, 212, 165) hsl(163, 66%, 50%) Caribbean Green
#5cd42d rgb(92, 212, 45) hsl(103, 66%, 50%) Lime Green
#2d5cd4 rgb(45, 92, 212) hsl(223, 66%, 50%) Royal Blue