#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 familyBrowns
Lightnessmedium-dark (52%)
Chromamoderately saturated (0.089)
Temperaturewarm
Nearest nameCocoa (#875F42)
Black text3.63:1
White text5.77:1

Values

HEX#8D5A2F
RGBrgb(141, 90, 47)
HSLhsl(27, 50%, 37%)
OKLCHoklch(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.

PairWCAG 2ResultAPCAAPCA 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.

  1. Step 50

    50

    #F8F5F2

    oklch(97.2% 0.005 67.8)

  2. Step 100

    100

    #F0E8E2

    oklch(93.6% 0.012 59.6)

  3. Step 200

    200

    #E6D6CA

    oklch(88.6% 0.024 59.4)

  4. Step 300

    300

    #D6BBA6

    oklch(81% 0.042 60)

  5. Step 400

    400

    #C19776

    oklch(70.7% 0.068 59.5)

  6. Step 500

    500

    #B17C52

    oklch(63.1% 0.088 58.7)

  7. Step 600

    600

    #9C6535

    oklch(55.6% 0.095 59.9)

  8. Step 700

    700 (this color)

    #8D5A2F

    oklch(51.5% 0.089 59)

  9. Step 800

    800

    #6D4422

    oklch(42.7% 0.074 58.5)

  10. Step 900

    900

    #583A21

    oklch(37.7% 0.057 59.6)

  11. Step 950

    950

    #342214

    oklch(27% 0.037 58.3)

Export this scale for Tailwind in the Tailwind colors tool

#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.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#695F2B0.065
Deuteranopia (no green cones)#756A2F0.059
Tritanopia (no blue cones)#9A4F500.064
Achromatopsia (no color)#6666660.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)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8D5A2F

    #8D5A2F

    oklch(51.5% 0.089 59)

  • #945349

    #945349

    oklch(51.6% 0.089 29.7)

  • #7C6422

    #7C6422

    oklch(51.4% 0.088 88.5)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #8D5A2F

    #8D5A2F

    oklch(51.5% 0.089 59)

  • #007583

    #007583

    oklch(51.5% 0.089 209.3)

  • #53659B

    #53659B

    oklch(51.6% 0.089 269.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8D5A2F

    #8D5A2F

    oklch(51.5% 0.089 59)

  • #147868

    #147868

    oklch(51.5% 0.089 178.5)

  • #6F5B93

    #6F5B93

    oklch(51.4% 0.089 299.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8D5A2F

    #8D5A2F

    oklch(51.5% 0.089 59)

  • #40764B

    #40764B

    oklch(51.6% 0.089 149.1)

  • #2F6E95

    #2F6E95

    oklch(51.5% 0.089 239.1)

  • #845481

    #845481

    oklch(51.5% 0.09 329)

Open the square palette in the generator

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.

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.