#d40239 ≈ Crimson
#d40239 is a color from the rose family, with medium lightness and vivid saturation. In the RGB model it is made of 83.14% red, 0.78% green and 22.35% blue; printed in CMYK it uses 0% cyan, 99.06% magenta, 73.11% yellow and 16.86% black. Its hue angle is 344.29°, with 98.13% saturation and 41.96% 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.43:1 (WCAG AA). The closest named color is Crimson (#dc143c), ΔE 2.3.
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.1434 |
Shades
#d40239 mixed progressively with black.
Tints
#d40239 mixed progressively with white.
Tones
#d40239 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d40239 {
color: #d40239;
}
.bg-d40239 {
background-color: #d40239;
color: #ffffff;
}
.border-d40239 {
border: 2px solid #d40239;
}
:root {
--color-primary: #d40239;
--color-primary-rgb: 212 2 57;
--color-primary-hsl: 344 98% 42%;
}
.gradient-d40239 {
background: linear-gradient(135deg, #d40239, #d43402);
}
.shadow-d40239 {
box-shadow: 0 8px 24px rgb(212 2 57 / 0.35);
}
Crimson
#d40239 rgb(212, 2, 57) hsl(344, 98%, 42%) Crimson
#02d49d rgb(2, 212, 157) hsl(164, 98%, 42%) Caribbean Green
#39d402 rgb(57, 212, 2) hsl(104, 98%, 42%) Lime Green
#0239d4 rgb(2, 57, 212) hsl(224, 98%, 42%) Persian Blue