#402C1F color
The hex color #402C1F is a very dark, desaturated orange.
In the RGB color model it is made of 25.1% red, 17.3% green and 12.2% blue (64, 44, 31).
Its hue angle is 24°, with 35% saturation and 19% lightness. For print, the CMYK equivalent is 0% cyan, 31% magenta, 52% yellow and 75% black.
The closest named color is English Walnut (#3E2B23), a difference of 2.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.14:1).
#402C1F color codes
| HEX | #402C1F | |
|---|---|---|
| RGB | rgb(64, 44, 31) | |
| RGB percent | rgb(25.1%, 17.3%, 12.2%) | |
| HSL | hsl(24, 35%, 19%) | |
| HSV / HSB | hsv(24, 52%, 25%) | |
| CMYK | cmyk(0%, 31%, 52%, 75%) | |
| CIE LAB | lab(20.01, 7.3, 12.08) | |
| CIE LCH | lch(20.01, 14.11, 58.86) | |
| CIE XYZ | xyz(3.263, 2.991, 1.701) | |
| Decimal | 4205599 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #402C1F, 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 #402C1F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.6:1 | Fail | Fail | Fail |
| Sample text | 13.14:1 | Pass | Pass | Pass |
| #402C1F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.14:1 | Pass | Pass | Pass |
| Sample text | 1.6: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 #402C1F looks to people with the most common types of color vision deficiency.
#322e1eProtanopia
no red cones#36321fDeuteranopia
no green cones#452829Tritanopia
no blue cones#303030Achromatopsia
no color vision
CSS examples
.background { background-color: #402c1f; }
.text { color: #402c1f; }
.border { border: 2px solid #402c1f; }
.transparent { background-color: rgb(64 44 31 / 50%); }
.gradient { background: linear-gradient(to right, #402c1f, #403d1f); }
Similar colors
#3e2b23English Walnut#3c2f23Cola#45362bDark Rum#4b3621Café Noir#361d0aClose but No Cigar#3e2723Ethereal Espresso#45392fBatch Brew#473933Film Noir
Closest common color name: Taupe.
Questions
- What color is #402C1F?
- #402C1F 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 #402C1F?
- The RGB value is 64, 44, 31: 64 red, 44 green and 31 blue on a 0 to 255 scale.
- What is the complementary color of #402C1F?
- The complementary color is #1F3340, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #402C1F?
- White text. Black text has a contrast ratio of 1.6:1 and white text 13.14:1. WCAG asks for at least 4.5:1 for normal text.