#cd1948 ≈ Cardinal
#cd1948 is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 80.39% red, 9.8% green and 28.24% blue; printed in CMYK it uses 0% cyan, 87.8% magenta, 64.88% yellow and 19.61% black. Its hue angle is 344.33°, with 78.26% saturation and 45.1% 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 brand accents. White text on this color reaches a contrast ratio of 5.49:1 (WCAG AA). The closest named color is Cardinal (#c41e3a), ΔE 3.97.
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.1414 |
Shades
#cd1948 mixed progressively with black.
Tints
#cd1948 mixed progressively with white.
Tones
#cd1948 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cd1948 {
color: #cd1948;
}
.bg-cd1948 {
background-color: #cd1948;
color: #ffffff;
}
.border-cd1948 {
border: 2px solid #cd1948;
}
:root {
--color-primary: #cd1948;
--color-primary-rgb: 205 25 72;
--color-primary-hsl: 344 78% 45%;
}
.gradient-cd1948 {
background: linear-gradient(135deg, #cd1948, #cd4419);
}
.shadow-cd1948 {
box-shadow: 0 8px 24px rgb(205 25 72 / 0.35);
}
Cardinal
#cd1948 rgb(205, 25, 72) hsl(344, 78%, 45%) Cardinal
#19cd9e rgb(25, 205, 158) hsl(164, 78%, 45%) Caribbean Green
#48cd19 rgb(72, 205, 25) hsl(104, 78%, 45%) Lime Green
#1948cd rgb(25, 72, 205) hsl(224, 78%, 45%) Persian Blue