#d12e5e ≈ Ruby
#d12e5e is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 81.96% red, 18.04% green and 36.86% blue; printed in CMYK it uses 0% cyan, 77.99% magenta, 55.02% yellow and 18.04% black. Its hue angle is 342.33°, with 63.92% saturation and 50% 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.93:1 (WCAG AA). The closest named color is Ruby (#e0115f), ΔE 2.51.
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.1632 |
Shades
#d12e5e mixed progressively with black.
Tints
#d12e5e mixed progressively with white.
Tones
#d12e5e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d12e5e {
color: #d12e5e;
}
.bg-d12e5e {
background-color: #d12e5e;
color: #ffffff;
}
.border-d12e5e {
border: 2px solid #d12e5e;
}
:root {
--color-primary: #d12e5e;
--color-primary-rgb: 209 46 94;
--color-primary-hsl: 342 64% 50%;
}
.gradient-d12e5e {
background: linear-gradient(135deg, #d12e5e, #d14f2e);
}
.shadow-d12e5e {
box-shadow: 0 8px 24px rgb(209 46 94 / 0.35);
}
Ruby
#d12e5e rgb(209, 46, 94) hsl(342, 64%, 50%) Ruby
#2ed1a1 rgb(46, 209, 161) hsl(162, 64%, 50%) Caribbean Green
#5ed12e rgb(94, 209, 46) hsl(102, 64%, 50%) Lime Green
#2e5ed1 rgb(46, 94, 209) hsl(222, 64%, 50%) Denim