#df0f42 ≈ Crimson
#df0f42 is a color from the red family, with medium lightness and vivid saturation. In the RGB model it is made of 87.45% red, 5.88% green and 25.88% blue; printed in CMYK it uses 0% cyan, 93.27% magenta, 70.4% yellow and 12.55% black. Its hue angle is 345.29°, with 87.39% saturation and 46.67% 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 4.9:1 (WCAG AA). The closest named color is Crimson (#dc143c), ΔE 1.67.
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.1642 |
Shades
#df0f42 mixed progressively with black.
Tints
#df0f42 mixed progressively with white.
Tones
#df0f42 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-df0f42 {
color: #df0f42;
}
.bg-df0f42 {
background-color: #df0f42;
color: #ffffff;
}
.border-df0f42 {
border: 2px solid #df0f42;
}
:root {
--color-primary: #df0f42;
--color-primary-rgb: 223 15 66;
--color-primary-hsl: 345 87% 47%;
}
.gradient-df0f42 {
background: linear-gradient(135deg, #df0f42, #df440f);
}
.shadow-df0f42 {
box-shadow: 0 8px 24px rgb(223 15 66 / 0.35);
}
Crimson
#df0f42 rgb(223, 15, 66) hsl(345, 87%, 47%) Crimson
#0fdfac rgb(15, 223, 172) hsl(165, 87%, 47%) Caribbean Green
#42df0f rgb(66, 223, 15) hsl(105, 87%, 47%) Lime Green
#0f42df rgb(15, 66, 223) hsl(225, 87%, 47%) Persian Blue