#cb0331 ≈ Cardinal
#cb0331 is a color from the red family, with medium lightness and vivid saturation. In the RGB model it is made of 79.61% red, 1.18% green and 19.22% blue; printed in CMYK it uses 0% cyan, 98.52% magenta, 75.86% yellow and 20.39% black. Its hue angle is 346.2°, with 97.09% saturation and 40.39% 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.84:1 (WCAG AA). The closest named color is Cardinal (#c41e3a), Δ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.1298 |
Shades
#cb0331 mixed progressively with black.
Tints
#cb0331 mixed progressively with white.
Tones
#cb0331 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cb0331 {
color: #cb0331;
}
.bg-cb0331 {
background-color: #cb0331;
color: #ffffff;
}
.border-cb0331 {
border: 2px solid #cb0331;
}
:root {
--color-primary: #cb0331;
--color-primary-rgb: 203 3 49;
--color-primary-hsl: 346 97% 40%;
}
.gradient-cb0331 {
background: linear-gradient(135deg, #cb0331, #cb3903);
}
.shadow-cb0331 {
box-shadow: 0 8px 24px rgb(203 3 49 / 0.35);
}
Cardinal
#cb0331 rgb(203, 3, 49) hsl(346, 97%, 40%) Cardinal
#03cb9d rgb(3, 203, 157) hsl(166, 97%, 40%) Caribbean Green
#31cb03 rgb(49, 203, 3) hsl(106, 97%, 40%) Lime Green
#0331cb rgb(3, 49, 203) hsl(226, 97%, 40%) Persian Blue