#d8045e ≈ Ruby
#d8045e is a color from the rose family, with medium lightness and vivid saturation. In the RGB model it is made of 84.71% red, 1.57% green and 36.86% blue; printed in CMYK it uses 0% cyan, 98.15% magenta, 56.48% yellow and 15.29% black. Its hue angle is 334.53°, with 96.36% saturation and 43.14% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 5.12:1 (WCAG AA). The closest named color is Ruby (#e0115f), ΔE 2.26.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc0066 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1549 |
Shades
#d8045e mixed progressively with black.
Tints
#d8045e mixed progressively with white.
Tones
#d8045e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d8045e {
color: #d8045e;
}
.bg-d8045e {
background-color: #d8045e;
color: #ffffff;
}
.border-d8045e {
border: 2px solid #d8045e;
}
:root {
--color-primary: #d8045e;
--color-primary-rgb: 216 4 94;
--color-primary-hsl: 335 96% 43%;
}
.gradient-d8045e {
background: linear-gradient(135deg, #d8045e, #d81404);
}
.shadow-d8045e {
box-shadow: 0 8px 24px rgb(216 4 94 / 0.35);
}
Ruby
#d8045e rgb(216, 4, 94) hsl(335, 96%, 43%) Ruby
#04d87e rgb(4, 216, 126) hsl(155, 96%, 43%) Emerald
#5ed804 rgb(94, 216, 4) hsl(95, 96%, 43%) Lime Green
#045ed8 rgb(4, 94, 216) hsl(215, 96%, 43%) Denim