#d01238 ≈ Cardinal
#d01238 is a color from the red family, with medium lightness and strong saturation. In the RGB model it is made of 81.57% red, 7.06% green and 21.96% blue; printed in CMYK it uses 0% cyan, 91.35% magenta, 73.08% yellow and 18.43% black. Its hue angle is 348°, with 84.07% saturation and 44.31% 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.49:1 (WCAG AA). The closest named color is Cardinal (#c41e3a), ΔE 2.26.
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.1413 |
Shades
#d01238 mixed progressively with black.
Tints
#d01238 mixed progressively with white.
Tones
#d01238 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d01238 {
color: #d01238;
}
.bg-d01238 {
background-color: #d01238;
color: #ffffff;
}
.border-d01238 {
border: 2px solid #d01238;
}
:root {
--color-primary: #d01238;
--color-primary-rgb: 208 18 56;
--color-primary-hsl: 348 84% 44%;
}
.gradient-d01238 {
background: linear-gradient(135deg, #d01238, #d04b12);
}
.shadow-d01238 {
box-shadow: 0 8px 24px rgb(208 18 56 / 0.35);
}
Cardinal
#d01238 rgb(208, 18, 56) hsl(348, 84%, 44%) Cardinal
#12d0aa rgb(18, 208, 170) hsl(168, 84%, 44%) Caribbean Green
#38d012 rgb(56, 208, 18) hsl(108, 84%, 44%) Lime Green
#1238d0 rgb(18, 56, 208) hsl(228, 84%, 44%) Persian Blue