#cd0938 ≈ Cardinal
#cd0938 is a color from the red family, with medium lightness and vivid saturation. In the RGB model it is made of 80.39% red, 3.53% green and 21.96% blue; printed in CMYK it uses 0% cyan, 95.61% magenta, 72.68% yellow and 19.61% black. Its hue angle is 345.61°, with 91.59% saturation and 41.96% 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.69:1 (WCAG AA). The closest named color is Cardinal (#c41e3a), ΔE 1.56.
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.1346 |
Shades
#cd0938 mixed progressively with black.
Tints
#cd0938 mixed progressively with white.
Tones
#cd0938 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cd0938 {
color: #cd0938;
}
.bg-cd0938 {
background-color: #cd0938;
color: #ffffff;
}
.border-cd0938 {
border: 2px solid #cd0938;
}
:root {
--color-primary: #cd0938;
--color-primary-rgb: 205 9 56;
--color-primary-hsl: 346 92% 42%;
}
.gradient-cd0938 {
background: linear-gradient(135deg, #cd0938, #cd3c09);
}
.shadow-cd0938 {
box-shadow: 0 8px 24px rgb(205 9 56 / 0.35);
}
Cardinal
#cd0938 rgb(205, 9, 56) hsl(346, 92%, 42%) Cardinal
#09cd9e rgb(9, 205, 158) hsl(166, 92%, 42%) Caribbean Green
#38cd09 rgb(56, 205, 9) hsl(106, 92%, 42%) Lime Green
#0938cd rgb(9, 56, 205) hsl(226, 92%, 42%) Persian Blue