#8D5A2F
Closest named color: Cocoa (#875F42). oklch(51.5% 0.089 59), rgb(141, 90, 47).
Aa
White text reads best on this color (5.77:1).
About this color
#8D5A2F is a medium-dark, moderately saturated brown. In OKLCH its lightness is 52%, its chroma 0.089 and its hue 59°. Its hue sits on the warm side of the wheel. The nearest named color is Cocoa (#875F42), ΔE 0.023 away. White text reads best on it, at 5.77:1.
| Hue family | Browns |
| Lightness | medium-dark (52%) |
| Chroma | moderately saturated (0.089) |
| Temperature | warm |
| Nearest name | Cocoa (#875F42) |
| Black text | 3.63:1 |
| White text | 5.77:1 |
Values
| HEX | #8D5A2F |
| RGB | rgb(141, 90, 47) |
| HSL | hsl(27, 50%, 37%) |
| OKLCH | oklch(51.5% 0.089 59) |
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 #8D5A2F | 5.77:1 | AA | Lc -83.9 | Fine for body text |
| Black text on #8D5A2F | 3.63:1 | AA large text | Lc 25.4 | Dividers and decoration only |
| #8D5A2F text on white | 5.77:1 | AA | Lc 78.7 | Fine for body text |
| #8D5A2F text on black | 3.63:1 | AA large text | Lc -23.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
#F8F5F2
oklch(97.2% 0.005 67.8)
-
Step 100
100
#F0E8E2
oklch(93.6% 0.012 59.6)
-
Step 200
200
#E6D6CA
oklch(88.6% 0.024 59.4)
-
Step 300
300
#D6BBA6
oklch(81% 0.042 60)
-
Step 400
400
#C19776
oklch(70.7% 0.068 59.5)
-
Step 500
500
#B17C52
oklch(63.1% 0.088 58.7)
-
Step 600
600
#9C6535
oklch(55.6% 0.095 59.9)
-
Step 700
700 (this color)
#8D5A2F
oklch(51.5% 0.089 59)
-
Step 800
800
#6D4422
oklch(42.7% 0.074 58.5)
-
Step 900
900
#583A21
oklch(37.7% 0.057 59.6)
-
Step 950
950
#342214
oklch(27% 0.037 58.3)
#8D5A2F 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) | #695F2B | 0.065 |
| Deuteranopia (no green cones) | #756A2F | 0.059 |
| Tritanopia (no blue cones) | #9A4F50 | 0.064 |
| Achromatopsia (no color) | #666666 | 0.089 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #8D5A2F
#8D5A2F
oklch(51.5% 0.089 59)
- #2F6E95
#2F6E95
oklch(51.5% 0.089 239.1)
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 #8D5A2F, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cocoa #875F42 ΔE 0.023
- Sepia #985E2B ΔE 0.024
- Dirt Brown #836539 ΔE 0.031
- Warm Brown #964E02 ΔE 0.035
- Sienna #A0522D ΔE 0.038
- Medium Brown #7F5112 ΔE 0.043
- Milk Chocolate #7F4E1E ΔE 0.044
- Raw Sienna #9A6200 ΔE 0.046
Use #8D5A2F 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.