#C0400A

#c0400a ≈ Mahogany

  • brown
  • Lightness: low
  • Saturation: strong
  • Warm

#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.

Conversions of #c0400a into other color spaces
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 luminance0.149

Readable text 5.28:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.98:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6c6c6c ≈ 0.003% of males
Achromatomaly #955d55 ≈ 0.001% of males
Protanopia #665900 ≈ 1.01% of males
Deuteranopia #867600 ≈ 1.27% of males
Tritanopia #d41437 ≈ 0.0001% of males
Protanomaly #935001 ≈ 1.08% of males
Deuteranomaly #a06502 ≈ 4.63% of males
Tritanomaly #cc2b2b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-c0400a {
  color: #c0400a;
}
Background
.bg-c0400a {
  background-color: #c0400a;
  color: #ffffff;
}
Border
.border-c0400a {
  border: 2px solid #c0400a;
}
CSS variables
:root {
  --color-primary: #c0400a;
  --color-primary-rgb: 192 64 10;
  --color-primary-hsl: 18 90% 40%;
}
Gradient
.gradient-c0400a {
  background: linear-gradient(135deg, #c0400a, #c09b0a);
}
Colored shadow
.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