#cf0231 ≈ Cardinal
#cf0231 is a color from the red family, with medium lightness and vivid saturation. In the RGB model it is made of 81.18% red, 0.78% green and 19.22% blue; printed in CMYK it uses 0% cyan, 99.03% magenta, 76.33% yellow and 18.82% black. Its hue angle is 346.24°, with 98.09% saturation and 40.98% 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.67:1 (WCAG AA). The closest named color is Cardinal (#c41e3a), ΔE 2.83.
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.1353 |
Shades
#cf0231 mixed progressively with black.
Tints
#cf0231 mixed progressively with white.
Tones
#cf0231 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cf0231 {
color: #cf0231;
}
.bg-cf0231 {
background-color: #cf0231;
color: #ffffff;
}
.border-cf0231 {
border: 2px solid #cf0231;
}
:root {
--color-primary: #cf0231;
--color-primary-rgb: 207 2 49;
--color-primary-hsl: 346 98% 41%;
}
.gradient-cf0231 {
background: linear-gradient(135deg, #cf0231, #cf3902);
}
.shadow-cf0231 {
box-shadow: 0 8px 24px rgb(207 2 49 / 0.35);
}
Cardinal
#cf0231 rgb(207, 2, 49) hsl(346, 98%, 41%) Cardinal
#02cfa0 rgb(2, 207, 160) hsl(166, 98%, 41%) Caribbean Green
#31cf02 rgb(49, 207, 2) hsl(106, 98%, 41%) Lime Green
#0231cf rgb(2, 49, 207) hsl(226, 98%, 41%) Persian Blue