#402A1E color
The hex color #402A1E is a very dark, desaturated orange.
In the RGB color model it is made of 25.1% red, 16.5% green and 11.8% blue (64, 42, 30).
Its hue angle is 21°, with 36% saturation and 18% lightness. For print, the CMYK equivalent is 0% cyan, 34% magenta, 53% yellow and 75% black.
The closest named color is English Walnut (#3E2B23), a difference of 2.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.39:1).
#402A1E color codes
| HEX | #402A1E | |
|---|---|---|
| RGB | rgb(64, 42, 30) | |
| RGB percent | rgb(25.1%, 16.5%, 11.8%) | |
| HSL | hsl(21, 36%, 18%) | |
| HSV / HSB | hsv(21, 53%, 25%) | |
| CMYK | cmyk(0%, 34%, 53%, 75%) | |
| CIE LAB | lab(19.39, 8.51, 11.94) | |
| CIE LCH | lch(19.39, 14.66, 54.51) | |
| CIE XYZ | xyz(3.177, 2.84, 1.609) | |
| Decimal | 4205086 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #402A1E, 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 #402A1E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.57:1 | Fail | Fail | Fail |
| Sample text | 13.39:1 | Pass | Pass | Pass |
| #402A1E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.39: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 #402A1E looks to people with the most common types of color vision deficiency.
#302c1dProtanopia
no red cones#35311eDeuteranopia
no green cones#452627Tritanopia
no blue cones#2f2f2fAchromatopsia
no color vision
CSS examples
.background { background-color: #402a1e; }
.text { color: #402a1e; }
.border { border: 2px solid #402a1e; }
.transparent { background-color: rgb(64 42 30 / 50%); }
.gradient { background: linear-gradient(to right, #402a1e, #403b1e); }
Similar colors
#3e2b23English Walnut#3e2723Ethereal Espresso#361d0aClose but No Cigar#45362bDark Rum#3c2f23Cola#412010Délicieux au Chocolat#4b3621Café Noir#3c2005Medium Roast
Closest common color name: Espresso.
Questions
- What color is #402A1E?
- #402A1E is a very dark, desaturated orange, closest to the named color English Walnut. It belongs to the brown family of colors.
- What is the RGB value of #402A1E?
- The RGB value is 64, 42, 30: 64 red, 42 green and 30 blue on a 0 to 255 scale.
- What is the complementary color of #402A1E?
- The complementary color is #1E3440, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #402A1E?
- White text. Black text has a contrast ratio of 1.57:1 and white text 13.39:1. WCAG asks for at least 4.5:1 for normal text.