#40292C color
The hex color #40292C is a dark, grayish red.
In the RGB color model it is made of 25.1% red, 16.1% green and 17.3% blue (64, 41, 44).
Its hue angle is 352°, with 22% saturation and 21% lightness. For print, the CMYK equivalent is 0% cyan, 36% magenta, 31% yellow and 75% black.
The closest named color is Aubergine (#372528), a difference of 2.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.36:1).
#40292C color codes
| HEX | #40292C | |
|---|---|---|
| RGB | rgb(64, 41, 44) | |
| RGB percent | rgb(25.1%, 16.1%, 17.3%) | |
| HSL | hsl(352, 22%, 21%) | |
| HSV / HSB | hsv(352, 36%, 25%) | |
| CMYK | cmyk(0%, 36%, 31%, 75%) | |
| CIE LAB | lab(19.47, 11.26, 2.42) | |
| CIE LCH | lch(19.47, 11.52, 12.12) | |
| CIE XYZ | xyz(3.362, 2.858, 2.757) | |
| Decimal | 4204844 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #40292C, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #40292C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.57:1 | Fail | Fail | Fail |
| Sample text | 13.36:1 | Pass | Pass | Pass |
| #40292C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.36:1 | Pass | Pass | Pass |
| Sample text | 1.57:1 | Fail | Fail | Fail |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #40292C looks to people with the most common types of color vision deficiency.
#2d2d2cProtanopia
no red cones#32312cDeuteranopia
no green cones#44272aTritanopia
no blue cones#2f2f2fAchromatopsia
no color vision
CSS examples
.background { background-color: #40292c; }
.text { color: #40292c; }
.border { border: 2px solid #40292c; }
.transparent { background-color: rgb(64 41 44 / 50%); }
.gradient { background: linear-gradient(to right, #40292c, #403129); }
Similar colors
#372528Aubergine#4a2d2fDark Roast#3b2b2cHavana#3e2723Ethereal Espresso#4a2c2aBrown Coffee#492a34Wine Tasting#4b373aVibrant Vine#4e312dEspresso
Questions
- What color is #40292C?
- #40292C is a dark, grayish red, closest to the named color Aubergine. It belongs to the black family of colors.
- What is the RGB value of #40292C?
- The RGB value is 64, 41, 44: 64 red, 41 green and 44 blue on a 0 to 255 scale.
- What is the complementary color of #40292C?
- The complementary color is #29403D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #40292C?
- White text. Black text has a contrast ratio of 1.57:1 and white text 13.36:1. WCAG asks for at least 4.5:1 for normal text.