#cd1248 ≈ Cardinal
#cd1248 is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 80.39% red, 7.06% green and 28.24% blue; printed in CMYK it uses 0% cyan, 91.22% magenta, 64.88% yellow and 19.61% black. Its hue angle is 342.67°, with 83.86% saturation and 43.73% 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.56:1 (WCAG AA). The closest named color is Cardinal (#c41e3a), ΔE 4.24.
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.1388 |
Shades
#cd1248 mixed progressively with black.
Tints
#cd1248 mixed progressively with white.
Tones
#cd1248 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cd1248 {
color: #cd1248;
}
.bg-cd1248 {
background-color: #cd1248;
color: #ffffff;
}
.border-cd1248 {
border: 2px solid #cd1248;
}
:root {
--color-primary: #cd1248;
--color-primary-rgb: 205 18 72;
--color-primary-hsl: 343 84% 44%;
}
.gradient-cd1248 {
background: linear-gradient(135deg, #cd1248, #cd3912);
}
.shadow-cd1248 {
box-shadow: 0 8px 24px rgb(205 18 72 / 0.35);
}
Cardinal
#cd1248 rgb(205, 18, 72) hsl(343, 84%, 44%) Cardinal
#12cd97 rgb(18, 205, 151) hsl(163, 84%, 44%) Caribbean Green
#48cd12 rgb(72, 205, 18) hsl(103, 84%, 44%) Lime Green
#1248cd rgb(18, 72, 205) hsl(223, 84%, 44%) Sapphire