#815F52

Closest named color: Cocoa (#875F42). oklch(51.7% 0.049 41.9), rgb(129, 95, 82).

Aa

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

About this color

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

Hue familyBrowns
Lightnessmedium-dark (52%)
Chromamuted (0.049)
Temperaturewarm
Nearest nameCocoa (#875F42)
Black text3.69:1
White text5.68:1

Values

HEX#815F52
RGBrgb(129, 95, 82)
HSLhsl(17, 22%, 41%)
OKLCHoklch(51.7% 0.049 41.9)

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 #815F52 5.68:1 AA Lc -83.7 Fine for body text
Black text on #815F52 3.69:1 AA large text Lc 25.7 Dividers and decoration only
#815F52 text on white 5.68:1 AA Lc 78.4 Fine for body text
#815F52 text on black 3.69:1 AA large text Lc -23.4 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

    #F7F5F4

    oklch(97.1% 0.003 48.7)

  2. Step 100

    100

    #EEE8E6

    oklch(93.5% 0.007 39.5)

  3. Step 200

    200

    #E1D6D2

    oklch(88.4% 0.013 41.2)

  4. Step 300

    300

    #CFBCB5

    oklch(80.9% 0.024 41.4)

  5. Step 400

    400

    #B6998E

    oklch(70.6% 0.038 41.9)

  6. Step 500

    500

    #A48073

    oklch(63.1% 0.049 40.8)

  7. Step 600

    600

    #8F695B

    oklch(55.6% 0.054 41.1)

  8. Step 700

    700 (this color)

    #815F52

    oklch(51.7% 0.049 41.9)

  9. Step 800

    800

    #63483E

    oklch(42.8% 0.041 41.2)

  10. Step 900

    900

    #513C34

    oklch(37.7% 0.033 41.8)

  11. Step 950

    950

    #2F231F

    oklch(26.9% 0.02 39.2)

Export this scale for Tailwind in the Tailwind colors tool

#815F52 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)#6763510.044
Deuteranopia (no green cones)#6F69520.040
Tritanopia (no blue cones)#895A5B0.026
Achromatopsia (no color)#6767670.049

Harmonies

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

Complementary

The opposite hue (180°).

  • #815F52

    #815F52

    oklch(51.7% 0.049 41.9)

  • #476F7C

    #476F7C

    oklch(51.7% 0.049 220.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #815F52

    #815F52

    oklch(51.7% 0.049 41.9)

  • #825D61

    #825D61

    oklch(51.8% 0.049 11.7)

  • #7A6449

    #7A6449

    oklch(51.8% 0.049 72.1)

Open the analogous palette in the generator

Split complementary

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

  • #815F52

    #815F52

    oklch(51.7% 0.049 41.9)

  • #45716F

    #45716F

    oklch(51.6% 0.049 192.1)

  • #546A84

    #546A84

    oklch(51.7% 0.049 252.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #815F52

    #815F52

    oklch(51.7% 0.049 41.9)

  • #4E715F

    #4E715F

    oklch(51.6% 0.049 161.6)

  • #636584

    #636584

    oklch(51.7% 0.049 281.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #815F52

    #815F52

    oklch(51.7% 0.049 41.9)

  • #5E6E51

    #5E6E51

    oklch(51.7% 0.048 131.4)

  • #476F7C

    #476F7C

    oklch(51.7% 0.049 220.4)

  • #72607D

    #72607D

    oklch(51.7% 0.05 312.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #815F52 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.