#dc045b ≈ Ruby
#dc045b is a color from the rose family, with medium lightness and vivid saturation. In the RGB model it is made of 86.27% red, 1.57% green and 35.69% blue; printed in CMYK it uses 0% cyan, 98.18% magenta, 58.64% yellow and 13.73% black. Its hue angle is 335.83°, with 96.43% saturation and 43.92% 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 4.99:1 (WCAG AA). The closest named color is Ruby (#e0115f), ΔE 1.31.
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.1606 |
Shades
#dc045b mixed progressively with black.
Tints
#dc045b mixed progressively with white.
Tones
#dc045b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dc045b {
color: #dc045b;
}
.bg-dc045b {
background-color: #dc045b;
color: #ffffff;
}
.border-dc045b {
border: 2px solid #dc045b;
}
:root {
--color-primary: #dc045b;
--color-primary-rgb: 220 4 91;
--color-primary-hsl: 336 96% 44%;
}
.gradient-dc045b {
background: linear-gradient(135deg, #dc045b, #dc1904);
}
.shadow-dc045b {
box-shadow: 0 8px 24px rgb(220 4 91 / 0.35);
}
Ruby
#dc045b rgb(220, 4, 91) hsl(336, 96%, 44%) Ruby
#04dc85 rgb(4, 220, 133) hsl(156, 96%, 44%) Emerald
#5bdc04 rgb(91, 220, 4) hsl(96, 96%, 44%) Lime Green
#045bdc rgb(4, 91, 220) hsl(216, 96%, 44%) Denim