#cf0342 ≈ Cardinal
#cf0342 is a color from the rose family, with medium lightness and vivid saturation. In the RGB model it is made of 81.18% red, 1.18% green and 25.88% blue; printed in CMYK it uses 0% cyan, 98.55% magenta, 68.12% yellow and 18.82% black. Its hue angle is 341.47°, with 97.14% saturation and 41.18% 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.61:1 (WCAG AA). The closest named color is Cardinal (#c41e3a), ΔE 3.16.
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.1372 |
Shades
#cf0342 mixed progressively with black.
Tints
#cf0342 mixed progressively with white.
Tones
#cf0342 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cf0342 {
color: #cf0342;
}
.bg-cf0342 {
background-color: #cf0342;
color: #ffffff;
}
.border-cf0342 {
border: 2px solid #cf0342;
}
:root {
--color-primary: #cf0342;
--color-primary-rgb: 207 3 66;
--color-primary-hsl: 341 97% 41%;
}
.gradient-cf0342 {
background: linear-gradient(135deg, #cf0342, #cf2a03);
}
.shadow-cf0342 {
box-shadow: 0 8px 24px rgb(207 3 66 / 0.35);
}
Cardinal
#cf0342 rgb(207, 3, 66) hsl(341, 97%, 41%) Cardinal
#03cf90 rgb(3, 207, 144) hsl(161, 97%, 41%) Caribbean Green
#42cf03 rgb(66, 207, 3) hsl(101, 97%, 41%) Lime Green
#0342cf rgb(3, 66, 207) hsl(221, 97%, 41%) Persian Blue