#7F5641
Closest named color: Cocoa (#875F42). oklch(49.2% 0.063 47.9), rgb(127, 86, 65).
Aa
White text reads best on this color (6.34:1).
About this color
#7F5641 is a medium-dark, muted brown. In OKLCH its lightness is 49%, its chroma 0.063 and its hue 48°. Its hue sits on the warm side of the wheel. The nearest named color is Cocoa (#875F42), ΔE 0.030 away. White text reads best on it, at 6.34:1.
| Hue family | Browns |
| Lightness | medium-dark (49%) |
| Chroma | muted (0.063) |
| Temperature | warm |
| Nearest name | Cocoa (#875F42) |
| Black text | 3.30:1 |
| White text | 6.34:1 |
Values
| HEX | #7F5641 |
| RGB | rgb(127, 86, 65) |
| HSL | hsl(20, 32%, 38%) |
| OKLCH | oklch(49.2% 0.063 47.9) |
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 #7F5641 | 6.34:1 | AA | Lc -86.6 | Fine for body text |
| Black text on #7F5641 | 3.30:1 | AA large text | Lc 22.6 | Dividers and decoration only |
| #7F5641 text on white | 6.34:1 | AA | Lc 81.4 | Fine for body text |
| #7F5641 text on black | 3.30:1 | AA large text | Lc -20.4 | 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
#E3D6D0
oklch(88.5% 0.017 46.6)
-
Step 300
300
#D2BBB0
oklch(80.9% 0.031 47.2)
-
Step 400
400
#BB9886
oklch(70.7% 0.049 48.7)
-
Step 500
500
#AA7E68
oklch(63.1% 0.064 47.7)
-
Step 600
600
#956750
oklch(55.6% 0.069 47.4)
-
Step 700
700 (this color)
#7F5641
oklch(49.2% 0.063 47.9)
-
Step 800
800
#674635
oklch(42.7% 0.053 48.1)
-
Step 900
900
#543B2E
oklch(37.7% 0.042 48.5)
-
Step 950
950
#31231B
oklch(27% 0.026 51)
#7F5641 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) | #615A3F | 0.053 |
| Deuteranopia (no green cones) | #6B6341 | 0.049 |
| Tritanopia (no blue cones) | #894F51 | 0.039 |
| Achromatopsia (no color) | #5F5F5F | 0.064 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7F5641
#7F5641
oklch(49.2% 0.063 47.9)
- #37687D
#37687D
oklch(49.2% 0.063 227.9)
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 #7F5641, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cocoa #875F42 ΔE 0.030
- Milk Chocolate #7F4E1E ΔE 0.039
- Medium Brown #7F5112 ΔE 0.046
- Dirt Brown #836539 ΔE 0.048
- Dark Taupe #7F684E ΔE 0.048
- Saddle Brown #8B4513 ΔE 0.053
- Sepia #985E2B ΔE 0.060
- Warm Brown #964E02 ΔE 0.060
Use #7F5641 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.