#845F4A

Closest named color: Cocoa (#875F42). oklch(51.9% 0.058 50.6), rgb(132, 95, 74).

Aa

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

About this color

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

Hue familyBrowns
Lightnessmedium-dark (52%)
Chromamuted (0.058)
Temperaturewarm
Nearest nameCocoa (#875F42)
Black text3.71:1
White text5.64:1

Values

HEX#845F4A
RGBrgb(132, 95, 74)
HSLhsl(22, 28%, 40%)
OKLCHoklch(51.9% 0.058 50.6)

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 #845F4A 5.64:1 AA Lc -83.5 Fine for body text
Black text on #845F4A 3.71:1 AA large text Lc 25.9 Dividers and decoration only
#845F4A text on white 5.64:1 AA Lc 78.2 Fine for body text
#845F4A text on black 3.71:1 AA large text Lc -23.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

    #F8F5F3

    oklch(97.2% 0.004 56.4)

  2. Step 100

    100

    #EFE8E5

    oklch(93.6% 0.009 44.9)

  3. Step 200

    200

    #E2D6D0

    oklch(88.4% 0.016 48.5)

  4. Step 300

    300

    #D0BCB1

    oklch(80.9% 0.028 50.8)

  5. Step 400

    400

    #B89988

    oklch(70.6% 0.044 50.4)

  6. Step 500

    500

    #A6806A

    oklch(63.1% 0.057 51.4)

  7. Step 600

    600

    #916952

    oklch(55.6% 0.062 50.9)

  8. Step 700

    700 (this color)

    #845F4A

    oklch(51.9% 0.058 50.6)

  9. Step 800

    800

    #654737

    oklch(42.7% 0.049 49.1)

  10. Step 900

    900

    #523C30

    oklch(37.7% 0.037 49.8)

  11. Step 950

    950

    #30231C

    oklch(26.9% 0.024 49.6)

Export this scale for Tailwind in the Tailwind colors tool

#845F4A 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)#6962480.047
Deuteranopia (no green cones)#726A4A0.042
Tritanopia (no blue cones)#8E58590.038
Achromatopsia (no color)#6767670.058

Harmonies

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

Complementary

The opposite hue (180°).

  • #845F4A

    #845F4A

    oklch(51.9% 0.058 50.6)

  • #446F84

    #446F84

    oklch(51.9% 0.058 230.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #845F4A

    #845F4A

    oklch(51.9% 0.058 50.6)

  • #875B5A

    #875B5A

    oklch(51.8% 0.058 20.7)

  • #7A6541

    #7A6541

    oklch(51.8% 0.058 80.4)

Open the analogous palette in the generator

Split complementary

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

  • #845F4A

    #845F4A

    oklch(51.9% 0.058 50.6)

  • #3C7376

    #3C7376

    oklch(51.9% 0.058 200.1)

  • #55698A

    #55698A

    oklch(51.8% 0.058 260.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #845F4A

    #845F4A

    oklch(51.9% 0.058 50.6)

  • #447464

    #447464

    oklch(52% 0.059 170.6)

  • #686388

    #686388

    oklch(51.9% 0.058 290.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #845F4A

    #845F4A

    oklch(51.9% 0.058 50.6)

  • #567151

    #567151

    oklch(51.8% 0.059 140.7)

  • #446F84

    #446F84

    oklch(51.9% 0.058 230.5)

  • #785E7D

    #785E7D

    oklch(51.9% 0.057 320.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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