#8A5F4B

Closest named color: Cocoa (#875F42). oklch(52.6% 0.064 45.8), rgb(138, 95, 75).

Aa

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

About this color

#8A5F4B is a medium-dark, muted brown. In OKLCH its lightness is 53%, its chroma 0.064 and its hue 46°. Its hue sits on the warm side of the wheel. The nearest named color is Cocoa (#875F42), ΔE 0.014 away. White text reads best on it, at 5.49:1.

Hue familyBrowns
Lightnessmedium-dark (53%)
Chromamuted (0.064)
Temperaturewarm
Nearest nameCocoa (#875F42)
Black text3.81:1
White text5.49:1

Values

HEX#8A5F4B
RGBrgb(138, 95, 75)
HSLhsl(19, 30%, 42%)
OKLCHoklch(52.6% 0.064 45.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 #8A5F4B 5.49:1 AA Lc -82.7 Fine for body text
Black text on #8A5F4B 3.81:1 AA large text Lc 26.7 Dividers and decoration only
#8A5F4B text on white 5.49:1 AA Lc 77.4 Fine for body text
#8A5F4B text on black 3.81:1 AA large text Lc -24.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 600.

  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

    #D1BBB1

    oklch(80.8% 0.029 46)

  5. Step 400

    400

    #BA9889

    oklch(70.7% 0.046 45.1)

  6. Step 500

    500

    #A87F6C

    oklch(63.1% 0.058 46)

  7. Step 600

    600 (this color)

    #8A5F4B

    oklch(52.6% 0.064 45.8)

  8. Step 700

    700

    #7D5644

    oklch(49.1% 0.059 45.7)

  9. Step 800

    800

    #664738

    oklch(42.8% 0.049 46.8)

  10. Step 900

    900

    #533B30

    oklch(37.6% 0.039 45.7)

  11. Step 950

    950

    #31231C

    oklch(27.1% 0.025 47.8)

Export this scale for Tailwind in the Tailwind colors tool

#8A5F4B 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)#6A63490.056
Deuteranopia (no green cones)#746D4B0.052
Tritanopia (no blue cones)#94585A0.038
Achromatopsia (no color)#6969690.064

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A5F4B

    #8A5F4B

    oklch(52.6% 0.064 45.8)

  • #3F7287

    #3F7287

    oklch(52.5% 0.064 226.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A5F4B

    #8A5F4B

    oklch(52.6% 0.064 45.8)

  • #8C5B5E

    #8C5B5E

    oklch(52.5% 0.065 15.5)

  • #80663F

    #80663F

    oklch(52.7% 0.064 76.8)

Open the analogous palette in the generator

Split complementary

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

  • #8A5F4B

    #8A5F4B

    oklch(52.6% 0.064 45.8)

  • #387677

    #387677

    oklch(52.5% 0.064 196.8)

  • #526C90

    #526C90

    oklch(52.6% 0.065 256.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A5F4B

    #8A5F4B

    oklch(52.6% 0.064 45.8)

  • #447762

    #447762

    oklch(52.7% 0.065 165.7)

  • #67658E

    #67658E

    oklch(52.5% 0.064 286.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A5F4B

    #8A5F4B

    oklch(52.6% 0.064 45.8)

  • #5A734E

    #5A734E

    oklch(52.5% 0.063 135.8)

  • #3F7287

    #3F7287

    oklch(52.5% 0.064 226.7)

  • #795F84

    #795F84

    oklch(52.5% 0.065 315.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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