#845F4D

Closest named color: Cocoa (#875F42). oklch(51.9% 0.056 47), rgb(132, 95, 77).

Aa

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

About this color

#845F4D is a medium-dark, muted brown. In OKLCH its lightness is 52%, its chroma 0.056 and its hue 47°. Its hue sits on the warm side of the wheel. The nearest named color is Cocoa (#875F42), ΔE 0.015 away. White text reads best on it, at 5.63:1.

Hue familyBrowns
Lightnessmedium-dark (52%)
Chromamuted (0.056)
Temperaturewarm
Nearest nameCocoa (#875F42)
Black text3.72:1
White text5.63:1

Values

HEX#845F4D
RGBrgb(132, 95, 77)
HSLhsl(20, 26%, 41%)
OKLCHoklch(51.9% 0.056 47)

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 #845F4D 5.63:1 AA Lc -83.4 Fine for body text
Black text on #845F4D 3.72:1 AA large text Lc 26.0 Dividers and decoration only
#845F4D text on white 5.63:1 AA Lc 78.1 Fine for body text
#845F4D text on black 3.72:1 AA large text Lc -23.7 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

    #E2D6D1

    oklch(88.4% 0.015 44.2)

  4. Step 300

    300

    #D0BCB2

    oklch(80.9% 0.027 48.4)

  5. Step 400

    400

    #B8998A

    oklch(70.7% 0.043 47.3)

  6. Step 500

    500

    #A6806D

    oklch(63.2% 0.055 47.8)

  7. Step 600

    600

    #916955

    oklch(55.7% 0.06 47.6)

  8. Step 700

    700 (this color)

    #845F4D

    oklch(51.9% 0.056 47)

  9. Step 800

    800

    #644739

    oklch(42.6% 0.046 46.8)

  10. Step 900

    900

    #523C31

    oklch(37.7% 0.036 47.7)

  11. Step 950

    950

    #30231D

    oklch(27% 0.023 46)

Export this scale for Tailwind in the Tailwind colors tool

#845F4D 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)#69634C0.046
Deuteranopia (no green cones)#716A4D0.043
Tritanopia (no blue cones)#8D595A0.033
Achromatopsia (no color)#6767670.056

Harmonies

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

Complementary

The opposite hue (180°).

  • #845F4D

    #845F4D

    oklch(51.9% 0.056 47)

  • #446F82

    #446F82

    oklch(51.8% 0.056 227.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #845F4D

    #845F4D

    oklch(51.9% 0.056 47)

  • #865C5D

    #865C5D

    oklch(52% 0.055 17.6)

  • #7B6544

    #7B6544

    oklch(52% 0.055 77.2)

Open the analogous palette in the generator

Split complementary

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

  • #845F4D

    #845F4D

    oklch(51.9% 0.056 47)

  • #3F7374

    #3F7374

    oklch(52% 0.056 197.2)

  • #546A89

    #546A89

    oklch(51.9% 0.056 257)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #845F4D

    #845F4D

    oklch(51.9% 0.056 47)

  • #487362

    #487362

    oklch(51.9% 0.055 167.3)

  • #666488

    #666488

    oklch(51.9% 0.056 286.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #845F4D

    #845F4D

    oklch(51.9% 0.056 47)

  • #5A7151

    #5A7151

    oklch(52.1% 0.056 137)

  • #446F82

    #446F82

    oklch(51.8% 0.056 227.9)

  • #765F7E

    #765F7E

    oklch(52% 0.055 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 #845F4D, closest first.

Similar named colors

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

Use #845F4D 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.