#7E5945
Closest named color: Cocoa (#875F42). oklch(49.8% 0.058 49.4), rgb(126, 89, 69).
Aa
White text reads best on this color (6.17:1).
About this color
#7E5945 is a medium-dark, muted brown. In OKLCH its lightness is 50%, its chroma 0.058 and its hue 49°. Its hue sits on the warm side of the wheel. The nearest named color is Cocoa (#875F42), ΔE 0.026 away. White text reads best on it, at 6.17:1.
| Hue family | Browns |
| Lightness | medium-dark (50%) |
| Chroma | muted (0.058) |
| Temperature | warm |
| Nearest name | Cocoa (#875F42) |
| Black text | 3.40:1 |
| White text | 6.17:1 |
Values
| HEX | #7E5945 |
| RGB | rgb(126, 89, 69) |
| HSL | hsl(21, 29%, 38%) |
| OKLCH | oklch(49.8% 0.058 49.4) |
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 #7E5945 | 6.17:1 | AA | Lc -85.9 | Fine for body text |
| Black text on #7E5945 | 3.40:1 | AA large text | Lc 23.3 | Dividers and decoration only |
| #7E5945 text on white | 6.17:1 | AA | Lc 80.7 | Fine for body text |
| #7E5945 text on black | 3.40:1 | AA large text | Lc -21.1 | Dividers and decoration only |
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 700.
-
Step 50
50
#F8F5F3
oklch(97.2% 0.004 56.4)
-
Step 100
100
#EFE8E5
oklch(93.6% 0.009 44.9)
-
Step 200
200
#E2D6D0
oklch(88.4% 0.016 48.5)
-
Step 300
300
#D0BCB1
oklch(80.9% 0.028 50.8)
-
Step 400
400
#B99988
oklch(70.7% 0.045 49.6)
-
Step 500
500
#A7806B
oklch(63.2% 0.057 49.6)
-
Step 600
600
#926953
oklch(55.7% 0.062 49.2)
-
Step 700
700 (this color)
#7E5945
oklch(49.8% 0.058 49.4)
-
Step 800
800
#654737
oklch(42.7% 0.049 49.1)
-
Step 900
900
#523C30
oklch(37.7% 0.037 49.8)
-
Step 950
950
#30231C
oklch(26.9% 0.024 49.6)
#7E5945 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) | #635D44 | 0.047 |
| Deuteranopia (no green cones) | #6C6445 | 0.042 |
| Tritanopia (no blue cones) | #875254 | 0.038 |
| Achromatopsia (no color) | #616161 | 0.058 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7E5945
#7E5945
oklch(49.8% 0.058 49.4)
- #3E697D
#3E697D
oklch(49.8% 0.057 229.4)
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 #7E5945, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cocoa #875F42 ΔE 0.026
- Dark Taupe #7F684E ΔE 0.041
- Dirt Brown #836539 ΔE 0.043
- Milk Chocolate #7F4E1E ΔE 0.045
- Medium Brown #7F5112 ΔE 0.051
- Sepia #985E2B ΔE 0.059
- Saddle Brown #8B4513 ΔE 0.061
- Dull Brown #876E4B ΔE 0.062
Use #7E5945 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.