#dc0f40 ≈ Crimson
#dc0f40 is a color from the red family, with medium lightness and vivid saturation. In the RGB model it is made of 86.27% red, 5.88% green and 25.1% blue; printed in CMYK it uses 0% cyan, 93.18% magenta, 70.91% yellow and 13.73% black. Its hue angle is 345.66°, with 87.23% saturation and 46.08% 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.02:1 (WCAG AA). The closest named color is Crimson (#dc143c), ΔE 1.32.
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.1593 |
Shades
#dc0f40 mixed progressively with black.
Tints
#dc0f40 mixed progressively with white.
Tones
#dc0f40 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dc0f40 {
color: #dc0f40;
}
.bg-dc0f40 {
background-color: #dc0f40;
color: #ffffff;
}
.border-dc0f40 {
border: 2px solid #dc0f40;
}
:root {
--color-primary: #dc0f40;
--color-primary-rgb: 220 15 64;
--color-primary-hsl: 346 87% 46%;
}
.gradient-dc0f40 {
background: linear-gradient(135deg, #dc0f40, #dc450f);
}
.shadow-dc0f40 {
box-shadow: 0 8px 24px rgb(220 15 64 / 0.35);
}
Crimson
#dc0f40 rgb(220, 15, 64) hsl(346, 87%, 46%) Crimson
#0fdcab rgb(15, 220, 171) hsl(166, 87%, 46%) Caribbean Green
#40dc0f rgb(64, 220, 15) hsl(106, 87%, 46%) Lime Green
#0f40dc rgb(15, 64, 220) hsl(226, 87%, 46%) Persian Blue