#402E1C color
The hex color #402E1C is a very dark, desaturated orange.
In the RGB color model it is made of 25.1% red, 18% green and 11% blue (64, 46, 28).
Its hue angle is 30°, with 39% saturation and 18% lightness. For print, the CMYK equivalent is 0% cyan, 28% magenta, 56% yellow and 75% black.
The closest named color is Café Noir (#4B3621), a difference of 3.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 12.92:1).
#402E1C color codes
| HEX | #402E1C | |
|---|---|---|
| RGB | rgb(64, 46, 28) | |
| RGB percent | rgb(25.1%, 18%, 11%) | |
| HSL | hsl(30, 39%, 18%) | |
| HSV / HSB | hsv(30, 56%, 25%) | |
| CMYK | cmyk(0%, 28%, 56%, 75%) | |
| CIE LAB | lab(20.55, 5.59, 14.77) | |
| CIE LCH | lch(20.55, 15.8, 69.26) | |
| CIE XYZ | xyz(3.301, 3.128, 1.528) | |
| Decimal | 4206108 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #402E1C, 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 #402E1C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.63:1 | Fail | Fail | Fail |
| Sample text | 12.92:1 | Pass | Pass | Pass |
| #402E1C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.92:1 | Pass | Pass | Pass |
| Sample text | 1.63: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 #402E1C looks to people with the most common types of color vision deficiency.
#342f1bProtanopia
no red cones#38331cDeuteranopia
no green cones#452a29Tritanopia
no blue cones#313131Achromatopsia
no color vision
CSS examples
.background { background-color: #402e1c; }
.text { color: #402e1c; }
.border { border: 2px solid #402e1c; }
.transparent { background-color: rgb(64 46 28 / 50%); }
.gradient { background: linear-gradient(to right, #402e1c, #40401c); }
Similar colors
#4b3621Café Noir#3c2f23Cola#45362bDark Rum#45392fBatch Brew#3e2b23English Walnut#523f31Turtle#483c32Taupe#3c2005Medium Roast
Questions
- What color is #402E1C?
- #402E1C is a very dark, desaturated orange, closest to the named color Café Noir. It belongs to the brown family of colors.
- What is the RGB value of #402E1C?
- The RGB value is 64, 46, 28: 64 red, 46 green and 28 blue on a 0 to 255 scale.
- What is the complementary color of #402E1C?
- The complementary color is #1C2E40, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #402E1C?
- White text. Black text has a contrast ratio of 1.63:1 and white text 12.92:1. WCAG asks for at least 4.5:1 for normal text.