#8D5740

Closest named color: Cocoa (#875F42). oklch(51.2% 0.08 43.7), rgb(141, 87, 64).

Aa

White text reads best on this color (5.88:1).

About this color

#8D5740 is a medium-dark, moderately saturated brown. In OKLCH its lightness is 51%, its chroma 0.080 and its hue 44°. Its hue sits on the warm side of the wheel. The nearest named color is Cocoa (#875F42), ΔE 0.022 away. White text reads best on it, at 5.88:1.

Hue familyBrowns
Lightnessmedium-dark (51%)
Chromamoderately saturated (0.080)
Temperaturewarm
Nearest nameCocoa (#875F42)
Black text3.56:1
White text5.88:1

Values

HEX#8D5740
RGBrgb(141, 87, 64)
HSLhsl(18, 38%, 40%)
OKLCHoklch(51.2% 0.08 43.7)

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 #8D5740 5.88:1 AA Lc -84.5 Fine for body text
Black text on #8D5740 3.56:1 AA large text Lc 24.8 Dividers and decoration only
#8D5740 text on white 5.88:1 AA Lc 79.2 Fine for body text
#8D5740 text on black 3.56:1 AA large text Lc -22.6 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

    #F9F4F3

    oklch(97.1% 0.006 31.1)

  2. Step 100

    100

    #F1E8E4

    oklch(93.7% 0.011 45.7)

  3. Step 200

    200

    #E6D5CE

    oklch(88.5% 0.021 43.8)

  4. Step 300

    300

    #D7B9AD

    oklch(80.8% 0.038 43)

  5. Step 400

    400

    #C29582

    oklch(70.7% 0.061 44)

  6. Step 500

    500

    #B27A62

    oklch(63.1% 0.079 44)

  7. Step 600

    600

    #9D6249

    oklch(55.5% 0.086 43.6)

  8. Step 700

    700 (this color)

    #8D5740

    oklch(51.2% 0.08 43.7)

  9. Step 800

    800

    #6D4330

    oklch(42.7% 0.066 44.9)

  10. Step 900

    900

    #59382B

    oklch(37.6% 0.052 42.3)

  11. Step 950

    950

    #342119

    oklch(26.9% 0.033 43.7)

Export this scale for Tailwind in the Tailwind colors tool

#8D5740 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)#655D3E0.072
Deuteranopia (no green cones)#7269400.066
Tritanopia (no blue cones)#994E510.044
Achromatopsia (no color)#6464640.080

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #8D5740

    #8D5740

    oklch(51.2% 0.08 43.7)

  • #277088

    #277088

    oklch(51.1% 0.08 223.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8D5740

    #8D5740

    oklch(51.2% 0.08 43.7)

  • #8E5359

    #8E5359

    oklch(51.2% 0.079 13.7)

  • #825F2E

    #825F2E

    oklch(51.1% 0.08 73.5)

Open the analogous palette in the generator

Split complementary

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

  • #8D5740

    #8D5740

    oklch(51.2% 0.08 43.7)

  • #1B7574

    #1B7574

    oklch(51.2% 0.08 193.8)

  • #456994

    #456994

    oklch(51.3% 0.08 253.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8D5740

    #8D5740

    oklch(51.2% 0.08 43.7)

  • #34755A

    #34755A

    oklch(51.2% 0.08 163.9)

  • #616093

    #616093

    oklch(51.2% 0.08 284.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8D5740

    #8D5740

    oklch(51.2% 0.08 43.7)

  • #547140

    #547140

    oklch(51.3% 0.081 133.5)

  • #277088

    #277088

    oklch(51.1% 0.08 223.7)

  • #775987

    #775987

    oklch(51.3% 0.079 313.4)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #8D5740, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #8D5740 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.