#cb0142 ≈ Cardinal
#cb0142 is a color from the rose family, with medium lightness and vivid saturation. In the RGB model it is made of 79.61% red, 0.39% green and 25.88% blue; printed in CMYK it uses 0% cyan, 99.51% magenta, 67.49% yellow and 20.39% black. Its hue angle is 340.69°, with 99.02% saturation and 40% 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.8:1 (WCAG AA). The closest named color is Cardinal (#c41e3a), ΔE 3.33.
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.1311 |
Shades
#cb0142 mixed progressively with black.
Tints
#cb0142 mixed progressively with white.
Tones
#cb0142 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cb0142 {
color: #cb0142;
}
.bg-cb0142 {
background-color: #cb0142;
color: #ffffff;
}
.border-cb0142 {
border: 2px solid #cb0142;
}
:root {
--color-primary: #cb0142;
--color-primary-rgb: 203 1 66;
--color-primary-hsl: 341 99% 40%;
}
.gradient-cb0142 {
background: linear-gradient(135deg, #cb0142, #cb2501);
}
.shadow-cb0142 {
box-shadow: 0 8px 24px rgb(203 1 66 / 0.35);
}
Cardinal
#cb0142 rgb(203, 1, 66) hsl(341, 99%, 40%) Cardinal
#01cb8a rgb(1, 203, 138) hsl(161, 99%, 40%) Caribbean Green
#42cb01 rgb(66, 203, 1) hsl(101, 99%, 40%) Lime Green
#0142cb rgb(1, 66, 203) hsl(221, 99%, 40%) Persian Blue