#5F402E

Closest named color: Purple Brown (#673A3F). oklch(40.2% 0.052 50.9), rgb(95, 64, 46).

Aa

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

About this color

#5F402E is a dark, muted brown. In OKLCH its lightness is 40%, its chroma 0.052 and its hue 51°. Its hue sits on the warm side of the wheel. The nearest named color is Purple Brown (#673A3F), ΔE 0.039 away. White text reads best on it, at 9.29:1.

Hue familyBrowns
Lightnessdark (40%)
Chromamuted (0.052)
Temperaturewarm
Nearest namePurple Brown (#673A3F)
Black text2.25:1
White text9.29:1

Values

HEX#5F402E
RGBrgb(95, 64, 46)
HSLhsl(22, 35%, 28%)
OKLCHoklch(40.2% 0.052 50.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 #5F402E 9.29:1 AAA Lc -95.7 Preferred for body text
Black text on #5F402E 2.25:1 Fails Lc 12.6 Not readable
#5F402E text on white 9.29:1 AAA Lc 91.4 Preferred for body text
#5F402E text on black 2.25:1 Fails Lc -11.0 Not readable

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 800.

  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

    #E3D6CF

    oklch(88.5% 0.017 50.4)

  4. Step 300

    300

    #D2BCAF

    oklch(81% 0.031 52.6)

  5. Step 400

    400

    #BA9886

    oklch(70.6% 0.048 49.4)

  6. Step 500

    500

    #A97F67

    oklch(63.1% 0.063 51)

  7. Step 600

    600

    #94684F

    oklch(55.7% 0.068 50.5)

  8. Step 700

    700

    #7E563F

    oklch(49.1% 0.064 50.6)

  9. Step 800

    800 (this color)

    #5F402E

    oklch(40.2% 0.052 50.9)

  10. Step 900

    900

    #533B2E

    oklch(37.6% 0.04 49.5)

  11. Step 950

    950

    #31231B

    oklch(27% 0.026 51)

Export this scale for Tailwind in the Tailwind colors tool

#5F402E 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)#49432D0.041
Deuteranopia (no green cones)#504A2E0.039
Tritanopia (no blue cones)#673A3B0.034
Achromatopsia (no color)#4747470.052

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F402E

    #5F402E

    oklch(40.2% 0.052 50.9)

  • #284D5F

    #284D5F

    oklch(40.1% 0.052 231.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F402E

    #5F402E

    oklch(40.2% 0.052 50.9)

  • #613D3C

    #613D3C

    oklch(40.2% 0.051 21.3)

  • #574526

    #574526

    oklch(40.2% 0.052 80)

Open the analogous palette in the generator

Split complementary

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

  • #5F402E

    #5F402E

    oklch(40.2% 0.052 50.9)

  • #205154

    #205154

    oklch(40.3% 0.053 200.8)

  • #384965

    #384965

    oklch(40.3% 0.052 260.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F402E

    #5F402E

    oklch(40.2% 0.052 50.9)

  • #285144

    #285144

    oklch(40.1% 0.052 170.9)

  • #484362

    #484362

    oklch(40.1% 0.052 291.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F402E

    #5F402E

    oklch(40.2% 0.052 50.9)

  • #394F35

    #394F35

    oklch(40.1% 0.051 140.7)

  • #284D5F

    #284D5F

    oklch(40.1% 0.052 231.1)

  • #553F59

    #553F59

    oklch(40.2% 0.051 321.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5F402E 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.