#402D1D color
The hex color #402D1D is a very dark, desaturated orange.
In the RGB color model it is made of 25.1% red, 17.6% green and 11.4% blue (64, 45, 29).
Its hue angle is 27°, with 38% saturation and 18% lightness. For print, the CMYK equivalent is 0% cyan, 30% magenta, 55% yellow and 75% black.
The closest named color is Cola (#3C2F23), a difference of 3.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.03:1).
#402D1D color codes
| HEX | #402D1D | |
|---|---|---|
| RGB | rgb(64, 45, 29) | |
| RGB percent | rgb(25.1%, 17.6%, 11.4%) | |
| HSL | hsl(27, 38%, 18%) | |
| HSV / HSB | hsv(27, 55%, 25%) | |
| CMYK | cmyk(0%, 30%, 55%, 75%) | |
| CIE LAB | lab(20.27, 6.38, 13.75) | |
| CIE LCH | lch(20.27, 15.16, 65.11) | |
| CIE XYZ | xyz(3.275, 3.056, 1.579) | |
| Decimal | 4205853 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #402D1D, 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 #402D1D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.61:1 | Fail | Fail | Fail |
| Sample text | 13.03:1 | Pass | Pass | Pass |
| #402D1D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.03:1 | Pass | Pass | Pass |
| Sample text | 1.61: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 #402D1D looks to people with the most common types of color vision deficiency.
#332e1cProtanopia
no red cones#37331dDeuteranopia
no green cones#452929Tritanopia
no blue cones#313131Achromatopsia
no color vision
CSS examples
.background { background-color: #402d1d; }
.text { color: #402d1d; }
.border { border: 2px solid #402d1d; }
.transparent { background-color: rgb(64 45 29 / 50%); }
.gradient { background: linear-gradient(to right, #402d1d, #403f1d); }
Similar colors
#3c2f23Cola#4b3621Café Noir#45362bDark Rum#3e2b23English Walnut#45392fBatch Brew#361d0aClose but No Cigar#3c2005Medium Roast#523f31Turtle
Closest common color name: Taupe.
Questions
- What color is #402D1D?
- #402D1D is a very dark, desaturated orange, closest to the named color Cola. It belongs to the brown family of colors.
- What is the RGB value of #402D1D?
- The RGB value is 64, 45, 29: 64 red, 45 green and 29 blue on a 0 to 255 scale.
- What is the complementary color of #402D1D?
- The complementary color is #1D3040, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #402D1D?
- White text. Black text has a contrast ratio of 1.61:1 and white text 13.03:1. WCAG asks for at least 4.5:1 for normal text.