#8A5538

Closest named color: Cocoa (#875F42). oklch(50.3% 0.082 48.8), rgb(138, 85, 56).

Aa

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

About this color

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

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

Values

HEX#8A5538
RGBrgb(138, 85, 56)
HSLhsl(21, 42%, 38%)
OKLCHoklch(50.3% 0.082 48.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 #8A5538 6.10:1 AA Lc -85.5 Fine for body text
Black text on #8A5538 3.43:1 AA large text Lc 23.8 Dividers and decoration only
#8A5538 text on white 6.10:1 AA Lc 80.3 Fine for body text
#8A5538 text on black 3.43:1 AA large text Lc -21.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

    #F9F4F2

    oklch(97% 0.006 43.3)

  2. Step 100

    100

    #F1E8E3

    oklch(93.7% 0.012 51.3)

  3. Step 200

    200

    #E6D5CD

    oklch(88.5% 0.022 47)

  4. Step 300

    300

    #D7BAAB

    oklch(81% 0.039 49.1)

  5. Step 400

    400

    #C2957E

    oklch(70.6% 0.063 48.3)

  6. Step 500

    500

    #B27B5D

    oklch(63.2% 0.081 49.4)

  7. Step 600

    600

    #9D6343

    oklch(55.6% 0.088 49.1)

  8. Step 700

    700 (this color)

    #8A5538

    oklch(50.3% 0.082 48.8)

  9. Step 800

    800

    #6D432C

    oklch(42.7% 0.068 48.9)

  10. Step 900

    900

    #593928

    oklch(37.8% 0.053 48.6)

  11. Step 950

    950

    #342118

    oklch(26.9% 0.034 46.2)

Export this scale for Tailwind in the Tailwind colors tool

#8A5538 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)#645B360.069
Deuteranopia (no green cones)#7066380.063
Tritanopia (no blue cones)#964B4E0.051
Achromatopsia (no color)#6262620.083

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A5538

    #8A5538

    oklch(50.3% 0.082 48.8)

  • #266D89

    #266D89

    oklch(50.3% 0.082 228.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A5538

    #8A5538

    oklch(50.3% 0.082 48.8)

  • #8D5051

    #8D5051

    oklch(50.3% 0.082 19.3)

  • #7D5E27

    #7D5E27

    oklch(50.3% 0.082 79.2)

Open the analogous palette in the generator

Split complementary

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

  • #8A5538

    #8A5538

    oklch(50.3% 0.082 48.8)

  • #0E7276

    #0E7276

    oklch(50.3% 0.082 199.3)

  • #476593

    #476593

    oklch(50.4% 0.082 258.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A5538

    #8A5538

    oklch(50.3% 0.082 48.8)

  • #29735C

    #29735C

    oklch(50.3% 0.082 169.2)

  • #625C90

    #625C90

    oklch(50.3% 0.082 288.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A5538

    #8A5538

    oklch(50.3% 0.082 48.8)

  • #4B6F41

    #4B6F41

    oklch(50.2% 0.081 139)

  • #266D89

    #266D89

    oklch(50.3% 0.082 228.1)

  • #785482

    #785482

    oklch(50.2% 0.083 318.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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