#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 familyBrowns
Lightnessmedium-dark (49%)
Chromamuted (0.063)
Temperaturewarm
Nearest nameCocoa (#875F42)
Black text3.30:1
White text6.34:1

Values

HEX#7F5641
RGBrgb(127, 86, 65)
HSLhsl(20, 32%, 38%)
OKLCHoklch(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.

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

  1. Step 50

    50

    #F8F5F3

    oklch(97.2% 0.004 56.4)

  2. Step 100

    100

    #EFE8E5

    oklch(93.6% 0.009 44.9)

  3. Step 200

    200

    #E3D6D0

    oklch(88.5% 0.017 46.6)

  4. Step 300

    300

    #D2BBB0

    oklch(80.9% 0.031 47.2)

  5. Step 400

    400

    #BB9886

    oklch(70.7% 0.049 48.7)

  6. Step 500

    500

    #AA7E68

    oklch(63.1% 0.064 47.7)

  7. Step 600

    600

    #956750

    oklch(55.6% 0.069 47.4)

  8. Step 700

    700 (this color)

    #7F5641

    oklch(49.2% 0.063 47.9)

  9. Step 800

    800

    #674635

    oklch(42.7% 0.053 48.1)

  10. Step 900

    900

    #543B2E

    oklch(37.7% 0.042 48.5)

  11. Step 950

    950

    #31231B

    oklch(27% 0.026 51)

Export this scale for Tailwind in the Tailwind colors tool

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

VisionSeen asShift (ΔE)
Protanopia (no red cones)#615A3F0.053
Deuteranopia (no green cones)#6B63410.049
Tritanopia (no blue cones)#894F510.039
Achromatopsia (no color)#5F5F5F0.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)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F5641

    #7F5641

    oklch(49.2% 0.063 47.9)

  • #815253

    #815253

    oklch(49.1% 0.063 18.2)

  • #755D36

    #755D36

    oklch(49.3% 0.064 78.6)

Open the analogous palette in the generator

Split complementary

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

  • #7F5641

    #7F5641

    oklch(49.2% 0.063 47.9)

  • #2E6C6E

    #2E6C6E

    oklch(49.2% 0.063 198.2)

  • #4A6285

    #4A6285

    oklch(49.2% 0.064 257.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F5641

    #7F5641

    oklch(49.2% 0.063 47.9)

  • #3A6D5A

    #3A6D5A

    oklch(49.3% 0.064 167.6)

  • #5F5B83

    #5F5B83

    oklch(49.1% 0.063 288.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F5641

    #7F5641

    oklch(49.2% 0.063 47.9)

  • #4F6A46

    #4F6A46

    oklch(49.3% 0.064 138)

  • #37687D

    #37687D

    oklch(49.2% 0.063 227.9)

  • #705679

    #705679

    oklch(49.3% 0.063 317.3)

Open the square palette in the generator

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.

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.