#c0400a ≈ Mahogany
#c0400a is a color from the brown family, with low lightness and strong saturation. In the RGB model it is made of 75.29% red, 25.1% green and 3.92% blue; printed in CMYK it uses 0% cyan, 66.67% magenta, 94.79% yellow and 24.71% black. Its hue angle is 17.8°, with 90.1% saturation and 39.61% lightness in HSL. It is a warm color, often associated with reliability, warmth and earthiness. Designers typically use it for cafés and coffee brands, rustic and natural styles and call-to-action buttons. White text on this color reaches a contrast ratio of 5.28:1 (WCAG AA). The closest named color is Mahogany (#c04000), ΔE 1.17.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc3300 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.149 |
Shades
#c0400a mixed progressively with black.
Tints
#c0400a mixed progressively with white.
Tones
#c0400a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c0400a {
color: #c0400a;
}
.bg-c0400a {
background-color: #c0400a;
color: #ffffff;
}
.border-c0400a {
border: 2px solid #c0400a;
}
:root {
--color-primary: #c0400a;
--color-primary-rgb: 192 64 10;
--color-primary-hsl: 18 90% 40%;
}
.gradient-c0400a {
background: linear-gradient(135deg, #c0400a, #c09b0a);
}
.shadow-c0400a {
box-shadow: 0 8px 24px rgb(192 64 10 / 0.35);
}
Mahogany
#c0400a rgb(192, 64, 10) hsl(18, 90%, 40%) Mahogany
#0a8ac0 rgb(10, 138, 192) hsl(198, 90%, 40%) Steel Blue
#0ac040 rgb(10, 192, 64) hsl(138, 90%, 40%) Lime Green
#400ac0 rgb(64, 10, 192) hsl(258, 90%, 40%) Medium Blue