#8A5138

Closest named color: Cocoa (#875F42). oklch(49.5% 0.085 44), rgb(138, 81, 56).

Aa

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

About this color

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

Hue familyBrowns
Lightnessmedium-dark (50%)
Chromamoderately saturated (0.085)
Temperaturewarm
Nearest nameCocoa (#875F42)
Black text3.31:1
White text6.33:1

Values

HEX#8A5138
RGBrgb(138, 81, 56)
HSLhsl(18, 42%, 38%)
OKLCHoklch(49.5% 0.085 44)

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 #8A5138 6.33:1 AA Lc -86.4 Fine for body text
Black text on #8A5138 3.31:1 AA large text Lc 22.8 Dividers and decoration only
#8A5138 text on white 6.33:1 AA Lc 81.3 Fine for body text
#8A5138 text on black 3.31:1 AA large text Lc -20.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

    #F9F4F2

    oklch(97% 0.006 43.3)

  2. Step 100

    100

    #F1E7E3

    oklch(93.5% 0.012 43.3)

  3. Step 200

    200

    #E7D5CD

    oklch(88.5% 0.023 45.6)

  4. Step 300

    300

    #D9B9AB

    oklch(81% 0.042 45)

  5. Step 400

    400

    #C5947F

    oklch(70.8% 0.067 44.3)

  6. Step 500

    500

    #B5795F

    oklch(63.2% 0.084 44.2)

  7. Step 600

    600

    #A06145

    oklch(55.6% 0.092 44.4)

  8. Step 700

    700 (this color)

    #8A5138

    oklch(49.5% 0.085 44)

  9. Step 800

    800

    #6F422E

    oklch(42.8% 0.07 44.4)

  10. Step 900

    900

    #5A3829

    oklch(37.7% 0.055 44.5)

  11. Step 950

    950

    #352118

    oklch(27% 0.035 45)

Export this scale for Tailwind in the Tailwind colors tool

#8A5138 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)#6058360.077
Deuteranopia (no green cones)#6E64370.070
Tritanopia (no blue cones)#96474B0.047
Achromatopsia (no color)#6060600.086

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A5138

    #8A5138

    oklch(49.5% 0.085 44)

  • #186C86

    #186C86

    oklch(49.6% 0.086 224.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A5138

    #8A5138

    oklch(49.5% 0.085 44)

  • #8C4C53

    #8C4C53

    oklch(49.5% 0.086 13.8)

  • #7F5A23

    #7F5A23

    oklch(49.6% 0.086 74)

Open the analogous palette in the generator

Split complementary

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

  • #8A5138

    #8A5138

    oklch(49.5% 0.085 44)

  • #007170

    #007170

    oklch(49.6% 0.085 193.7)

  • #3E6491

    #3E6491

    oklch(49.5% 0.085 253.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A5138

    #8A5138

    oklch(49.5% 0.085 44)

  • #297155

    #297155

    oklch(49.5% 0.085 164.3)

  • #5C5B91

    #5C5B91

    oklch(49.6% 0.085 283.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A5138

    #8A5138

    oklch(49.5% 0.085 44)

  • #4D6C39

    #4D6C39

    oklch(49.4% 0.084 134.2)

  • #186C86

    #186C86

    oklch(49.6% 0.086 224.1)

  • #745384

    #745384

    oklch(49.7% 0.085 314.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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