#7F5D4E

Closest named color: Cocoa (#875F42). oklch(51% 0.051 44.8), rgb(127, 93, 78).

Aa

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

About this color

#7F5D4E is a medium-dark, muted brown. In OKLCH its lightness is 51%, its chroma 0.051 and its hue 45°. 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.86:1.

Hue familyBrowns
Lightnessmedium-dark (51%)
Chromamuted (0.051)
Temperaturewarm
Nearest nameCocoa (#875F42)
Black text3.57:1
White text5.86:1

Values

HEX#7F5D4E
RGBrgb(127, 93, 78)
HSLhsl(18, 24%, 40%)
OKLCHoklch(51% 0.051 44.8)

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 #7F5D4E 5.86:1 AA Lc -84.5 Fine for body text
Black text on #7F5D4E 3.57:1 AA large text Lc 24.8 Dividers and decoration only
#7F5D4E text on white 5.86:1 AA Lc 79.3 Fine for body text
#7F5D4E text on black 3.57:1 AA large text Lc -22.5 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

    #F7F5F4

    oklch(97.1% 0.003 48.7)

  2. Step 100

    100

    #EEE8E6

    oklch(93.5% 0.007 39.5)

  3. Step 200

    200

    #E1D7D2

    oklch(88.6% 0.013 48.6)

  4. Step 300

    300

    #CFBCB4

    oklch(80.9% 0.024 44.3)

  5. Step 400

    400

    #B6998D

    oklch(70.6% 0.039 43.7)

  6. Step 500

    500

    #A48071

    oklch(63% 0.05 43.7)

  7. Step 600

    600

    #8F6959

    oklch(55.5% 0.055 43.8)

  8. Step 700

    700 (this color)

    #7F5D4E

    oklch(51% 0.051 44.8)

  9. Step 800

    800

    #63483C

    oklch(42.7% 0.042 45)

  10. Step 900

    900

    #513C33

    oklch(37.7% 0.033 44.3)

  11. Step 950

    950

    #2F231E

    oklch(26.9% 0.021 43.7)

Export this scale for Tailwind in the Tailwind colors tool

#7F5D4E 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)#66604D0.043
Deuteranopia (no green cones)#6E674E0.039
Tritanopia (no blue cones)#8858590.030
Achromatopsia (no color)#6565650.051

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F5D4E

    #7F5D4E

    oklch(51% 0.051 44.8)

  • #456C7C

    #456C7C

    oklch(50.9% 0.051 225.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F5D4E

    #7F5D4E

    oklch(51% 0.051 44.8)

  • #805A5D

    #805A5D

    oklch(50.9% 0.05 13.8)

  • #776245

    #776245

    oklch(50.9% 0.05 75.2)

Open the analogous palette in the generator

Split complementary

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

  • #7F5D4E

    #7F5D4E

    oklch(51% 0.051 44.8)

  • #416F6F

    #416F6F

    oklch(50.9% 0.051 195.7)

  • #526883

    #526883

    oklch(51% 0.051 253.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F5D4E

    #7F5D4E

    oklch(51% 0.051 44.8)

  • #4A6F5F

    #4A6F5F

    oklch(50.9% 0.049 165.7)

  • #626282

    #626282

    oklch(50.9% 0.05 284.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F5D4E

    #7F5D4E

    oklch(51% 0.051 44.8)

  • #5A6D4F

    #5A6D4F

    oklch(51% 0.051 134.3)

  • #456C7C

    #456C7C

    oklch(50.9% 0.051 225.8)

  • #715D7A

    #715D7A

    oklch(50.9% 0.051 315.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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