#dc042f ≈ Crimson
#dc042f is a color from the red family, with medium lightness and vivid saturation. In the RGB model it is made of 86.27% red, 1.57% green and 18.43% blue; printed in CMYK it uses 0% cyan, 98.18% magenta, 78.64% yellow and 13.73% black. Its hue angle is 348.06°, with 96.43% saturation and 43.92% lightness in HSL. It is a warm color, often associated with energy, passion and urgency. 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 Crimson (#dc143c), ΔE 2.97.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc0033 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1551 |
Shades
#dc042f mixed progressively with black.
Tints
#dc042f mixed progressively with white.
Tones
#dc042f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dc042f {
color: #dc042f;
}
.bg-dc042f {
background-color: #dc042f;
color: #ffffff;
}
.border-dc042f {
border: 2px solid #dc042f;
}
:root {
--color-primary: #dc042f;
--color-primary-rgb: 220 4 47;
--color-primary-hsl: 348 96% 44%;
}
.gradient-dc042f {
background: linear-gradient(135deg, #dc042f, #dc4504);
}
.shadow-dc042f {
box-shadow: 0 8px 24px rgb(220 4 47 / 0.35);
}
Crimson
#dc042f rgb(220, 4, 47) hsl(348, 96%, 44%) Crimson
#04dcb1 rgb(4, 220, 177) hsl(168, 96%, 44%) Caribbean Green
#2fdc04 rgb(47, 220, 4) hsl(108, 96%, 44%) Lime Green
#042fdc rgb(4, 47, 220) hsl(228, 96%, 44%) Persian Blue