#402115
Closest named color: Chocolate Brown (#411900). oklch(28.7% 0.052 41.6), rgb(64, 33, 21).
Aa
White text reads best on this color (14.51:1).
About this color
#402115 is a dark, muted brown. In OKLCH its lightness is 29%, its chroma 0.052 and its hue 42°. Its hue sits on the warm side of the wheel. The nearest named color is Chocolate Brown (#411900), ΔE 0.027 away. White text reads best on it, at 14.51:1.
| Hue family | Browns |
| Lightness | dark (29%) |
| Chroma | muted (0.052) |
| Temperature | warm |
| Nearest name | Chocolate Brown (#411900) |
| Black text | 1.44:1 |
| White text | 14.51:1 |
Values
| HEX | #402115 |
| RGB | rgb(64, 33, 21) |
| HSL | hsl(17, 51%, 17%) |
| OKLCH | oklch(28.7% 0.052 41.6) |
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 #402115 | 14.51:1 | AAA | Lc -104.1 | Preferred for body text |
| Black text on #402115 | 1.44:1 | Fails | Lc 0.0 | Not readable |
| #402115 text on white | 14.51:1 | AAA | Lc 101.1 | Preferred for body text |
| #402115 text on black | 1.44: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
#FBF4F1
oklch(97.2% 0.009 44.9)
-
Step 100
100
#F5E6E1
oklch(93.5% 0.018 39.4)
-
Step 200
200
#EED2C8
oklch(88.4% 0.034 40.7)
-
Step 300
300
#E4B4A2
oklch(80.8% 0.061 41.5)
-
Step 400
400
#D58C6F
oklch(70.8% 0.099 42.4)
-
Step 500
500
#C86D49
oklch(63.1% 0.126 41.8)
-
Step 600
600
#B4522A
oklch(55.6% 0.138 41.4)
-
Step 700
700
#9A421D
oklch(49% 0.128 41.4)
-
Step 800
800
#7D371A
oklch(42.6% 0.106 41.6)
-
Step 900
900
#65311C
oklch(37.8% 0.082 41.9)
-
Step 950
950 (this color)
#402115
oklch(28.7% 0.052 41.6)
#402115 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) | #292514 | 0.048 |
| Deuteranopia (no green cones) | #312C15 | 0.044 |
| Tritanopia (no blue cones) | #461B1E | 0.028 |
| Achromatopsia (no color) | #292929 | 0.053 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #402115
#402115
oklch(28.7% 0.052 41.6)
- #01303D
#01303D
oklch(28.7% 0.052 222)
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 #402115, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Chocolate Brown #411900 ΔE 0.027
- Dark Brown #341C02 ΔE 0.039
- Mahogany #4A0100 ΔE 0.062
- Jet #212529 ΔE 0.066
- Deep Brown #410200 ΔE 0.066
- Dark Maroon #3C0008 ΔE 0.077
- Pakistan Green #283618 ΔE 0.077
- Space Cadet #2B2D42 ΔE 0.081
Use #402115 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.