#845F45

Closest named color: Cocoa (#875F42). oklch(51.8% 0.062 56), rgb(132, 95, 69).

Aa

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

About this color

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

Hue familyBrowns
Lightnessmedium-dark (52%)
Chromamuted (0.062)
Temperaturewarm
Nearest nameCocoa (#875F42)
Black text3.70:1
White text5.66:1

Values

HEX#845F45
RGBrgb(132, 95, 69)
HSLhsl(25, 31%, 39%)
OKLCHoklch(51.8% 0.062 56)

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 #845F45 5.66:1 AA Lc -83.5 Fine for body text
Black text on #845F45 3.70:1 AA large text Lc 25.8 Dividers and decoration only
#845F45 text on white 5.66:1 AA Lc 78.3 Fine for body text
#845F45 text on black 3.70:1 AA large text Lc -23.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

    #F8F5F3

    oklch(97.2% 0.004 56.4)

  2. Step 100

    100

    #EFE8E4

    oklch(93.5% 0.009 52.1)

  3. Step 200

    200

    #E2D7CF

    oklch(88.6% 0.016 58.6)

  4. Step 300

    300

    #D0BCAF

    oklch(80.8% 0.029 55.2)

  5. Step 400

    400

    #B99984

    oklch(70.6% 0.049 55)

  6. Step 500

    500

    #A78066

    oklch(63.1% 0.061 55)

  7. Step 600

    600

    #92694D

    oklch(55.6% 0.067 55.2)

  8. Step 700

    700 (this color)

    #845F45

    oklch(51.8% 0.062 56)

  9. Step 800

    800

    #654833

    oklch(42.8% 0.051 56.8)

  10. Step 900

    900

    #523C2D

    oklch(37.6% 0.039 55.5)

  11. Step 950

    950

    #30231A

    oklch(26.9% 0.026 56.1)

Export this scale for Tailwind in the Tailwind colors tool

#845F45 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)#6A62430.045
Deuteranopia (no green cones)#726A450.042
Tritanopia (no blue cones)#8E58580.043
Achromatopsia (no color)#6767670.062

Harmonies

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

Complementary

The opposite hue (180°).

  • #845F45

    #845F45

    oklch(51.8% 0.062 56)

  • #446E87

    #446E87

    oklch(51.8% 0.061 235.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #845F45

    #845F45

    oklch(51.8% 0.062 56)

  • #885A56

    #885A56

    oklch(51.6% 0.062 24.9)

  • #78663D

    #78663D

    oklch(51.8% 0.062 86.6)

Open the analogous palette in the generator

Split complementary

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

  • #845F45

    #845F45

    oklch(51.8% 0.062 56)

  • #38737A

    #38737A

    oklch(51.9% 0.062 205.6)

  • #57688C

    #57688C

    oklch(51.8% 0.061 264.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #845F45

    #845F45

    oklch(51.8% 0.062 56)

  • #3E7467

    #3E7467

    oklch(51.7% 0.062 176.3)

  • #6B6188

    #6B6188

    oklch(51.7% 0.062 295.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #845F45

    #845F45

    oklch(51.8% 0.062 56)

  • #517253

    #517253

    oklch(51.8% 0.061 146.1)

  • #446E87

    #446E87

    oklch(51.8% 0.061 235.8)

  • #7B5C7C

    #7B5C7C

    oklch(51.8% 0.062 325.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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