#402A20
Closest named color: Chocolate Brown (#411900). oklch(30.9% 0.037 45.3), rgb(64, 42, 32).
Aa
White text reads best on this color (13.37:1).
About this color
#402A20 is a dark, muted brown. In OKLCH its lightness is 31%, its chroma 0.037 and its hue 45°. Its hue sits on the warm side of the wheel. The nearest named color is Chocolate Brown (#411900), ΔE 0.052 away. White text reads best on it, at 13.37:1.
| Hue family | Browns |
| Lightness | dark (31%) |
| Chroma | muted (0.037) |
| Temperature | warm |
| Nearest name | Chocolate Brown (#411900) |
| Black text | 1.57:1 |
| White text | 13.37:1 |
Values
| HEX | #402A20 |
| RGB | rgb(64, 42, 32) |
| HSL | hsl(19, 33%, 19%) |
| OKLCH | oklch(30.9% 0.037 45.3) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #402A20 | 13.37:1 | AAA | Lc -102.9 | Preferred for body text |
| Black text on #402A20 | 1.57:1 | Fails | Lc 0.0 | Not readable |
| #402A20 text on white | 13.37:1 | AAA | Lc 99.7 | Preferred for body text |
| #402A20 text on black | 1.57:1 | Fails | Lc 0.0 | Not readable |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 950.
-
Step 50
50
#F9F4F2
oklch(97% 0.006 43.3)
-
Step 100
100
#F2E7E3
oklch(93.6% 0.013 41.2)
-
Step 200
200
#E8D5CC
oklch(88.6% 0.024 47.1)
-
Step 300
300
#DAB8A9
oklch(80.8% 0.045 45.2)
-
Step 400
400
#C7937C
oklch(70.7% 0.071 44.9)
-
Step 500
500
#B7785A
oklch(63.1% 0.09 46.1)
-
Step 600
600
#A25F40
oklch(55.5% 0.098 45)
-
Step 700
700
#8B4F32
oklch(49.2% 0.091 45.7)
-
Step 800
800
#71412A
oklch(42.8% 0.076 45.7)
-
Step 900
900
#5C3726
oklch(37.7% 0.06 45.2)
-
Step 950
950 (this color)
#402A20
oklch(30.9% 0.037 45.3)
#402A20 with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #302C1F | 0.032 |
| Deuteranopia (no green cones) | #353120 | 0.030 |
| Tritanopia (no blue cones) | #452627 | 0.022 |
| Achromatopsia (no color) | #2F2F2F | 0.038 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #402A20
#402A20
oklch(30.9% 0.037 45.3)
- #19343E
#19343E
oklch(30.8% 0.037 224.3)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #402A20, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Chocolate Brown #411900 ΔE 0.052
- Dark Brown #341C02 ΔE 0.060
- Pakistan Green #283618 ΔE 0.062
- Onyx #343A40 ΔE 0.062
- Gunmetal #293241 ΔE 0.064
- Jet #212529 ΔE 0.066
- Space Cadet #2B2D42 ΔE 0.067
- Charcoal Grey #3C4142 ΔE 0.076
Use #402A20 in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.