#7E5945

Closest named color: Cocoa (#875F42). oklch(49.8% 0.058 49.4), rgb(126, 89, 69).

Aa

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

About this color

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

Hue familyBrowns
Lightnessmedium-dark (50%)
Chromamuted (0.058)
Temperaturewarm
Nearest nameCocoa (#875F42)
Black text3.40:1
White text6.17:1

Values

HEX#7E5945
RGBrgb(126, 89, 69)
HSLhsl(21, 29%, 38%)
OKLCHoklch(49.8% 0.058 49.4)

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 #7E5945 6.17:1 AA Lc -85.9 Fine for body text
Black text on #7E5945 3.40:1 AA large text Lc 23.3 Dividers and decoration only
#7E5945 text on white 6.17:1 AA Lc 80.7 Fine for body text
#7E5945 text on black 3.40:1 AA large text Lc -21.1 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

    #B99988

    oklch(70.7% 0.045 49.6)

  6. Step 500

    500

    #A7806B

    oklch(63.2% 0.057 49.6)

  7. Step 600

    600

    #926953

    oklch(55.7% 0.062 49.2)

  8. Step 700

    700 (this color)

    #7E5945

    oklch(49.8% 0.058 49.4)

  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

#7E5945 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)#635D440.047
Deuteranopia (no green cones)#6C64450.042
Tritanopia (no blue cones)#8752540.038
Achromatopsia (no color)#6161610.058

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E5945

    #7E5945

    oklch(49.8% 0.058 49.4)

  • #3E697D

    #3E697D

    oklch(49.8% 0.057 229.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E5945

    #7E5945

    oklch(49.8% 0.058 49.4)

  • #815555

    #815555

    oklch(49.8% 0.059 19.4)

  • #745F3C

    #745F3C

    oklch(49.8% 0.057 79.6)

Open the analogous palette in the generator

Split complementary

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

  • #7E5945

    #7E5945

    oklch(49.8% 0.058 49.4)

  • #366D6F

    #366D6F

    oklch(49.8% 0.058 198.6)

  • #4F6484

    #4F6484

    oklch(49.9% 0.057 258.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E5945

    #7E5945

    oklch(49.8% 0.058 49.4)

  • #3F6E5D

    #3F6E5D

    oklch(49.9% 0.059 168.7)

  • #625D82

    #625D82

    oklch(49.8% 0.059 290.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E5945

    #7E5945

    oklch(49.8% 0.058 49.4)

  • #526B4B

    #526B4B

    oklch(49.9% 0.058 138.9)

  • #3E697D

    #3E697D

    oklch(49.8% 0.057 229.4)

  • #715878

    #715878

    oklch(49.8% 0.058 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 #7E5945, closest first.

Similar named colors

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

Use #7E5945 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.