#5B403B

Closest named color: Purple Brown (#673A3F). oklch(40% 0.039 30.7), rgb(91, 64, 59).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (40%)
Chromamuted (0.039)
Temperaturewarm
Nearest namePurple Brown (#673A3F)
Black text2.24:1
White text9.36:1

Values

HEX#5B403B
RGBrgb(91, 64, 59)
HSLhsl(9, 21%, 29%)
OKLCHoklch(40% 0.039 30.7)

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 #5B403B 9.36:1 AAA Lc -95.9 Preferred for body text
Black text on #5B403B 2.24:1 Fails Lc 12.4 Not readable
#5B403B text on white 9.36:1 AAA Lc 91.6 Preferred for body text
#5B403B text on black 2.24:1 Fails Lc -10.8 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 900.

  1. Step 50

    50

    #F8F4F4

    oklch(97% 0.004 17.2)

  2. Step 100

    100

    #EFE8E6

    oklch(93.6% 0.008 36.6)

  3. Step 200

    200

    #E4D5D3

    oklch(88.5% 0.017 26.7)

  4. Step 300

    300

    #D3BAB5

    oklch(80.9% 0.03 31.2)

  5. Step 400

    400

    #BC968F

    oklch(70.6% 0.047 30.3)

  6. Step 500

    500

    #AB7C74

    oklch(63.1% 0.06 29.7)

  7. Step 600

    600

    #96655C

    oklch(55.6% 0.066 30.8)

  8. Step 700

    700

    #80544C

    oklch(49.2% 0.061 30.7)

  9. Step 800

    800

    #68453E

    oklch(42.8% 0.05 31.7)

  10. Step 900

    900 (this color)

    #5B403B

    oklch(40% 0.039 30.7)

  11. Step 950

    950

    #32221F

    oklch(27.1% 0.025 30.8)

Export this scale for Tailwind in the Tailwind colors tool

#5B403B 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)#46433B0.038
Deuteranopia (no green cones)#4C493B0.037
Tritanopia (no blue cones)#613D3F0.017
Achromatopsia (no color)#4646460.039

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B403B

    #5B403B

    oklch(40% 0.039 30.7)

  • #2E4E54

    #2E4E54

    oklch(40.2% 0.039 210.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B403B

    #5B403B

    oklch(40% 0.039 30.7)

  • #5A3F46

    #5A3F46

    oklch(40% 0.039 1.9)

  • #574332

    #574332

    oklch(40% 0.039 61.7)

Open the analogous palette in the generator

Split complementary

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

  • #5B403B

    #5B403B

    oklch(40% 0.039 30.7)

  • #2F4F49

    #2F4F49

    oklch(40.1% 0.039 181)

  • #344B5B

    #344B5B

    oklch(40.1% 0.039 239.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B403B

    #5B403B

    oklch(40% 0.039 30.7)

  • #384E3D

    #384E3D

    oklch(40% 0.039 151.3)

  • #40475D

    #40475D

    oklch(40.1% 0.038 270.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B403B

    #5B403B

    oklch(40% 0.039 30.7)

  • #454B33

    #454B33

    oklch(40% 0.039 119.6)

  • #2E4E54

    #2E4E54

    oklch(40.2% 0.039 210.7)

  • #4B435A

    #4B435A

    oklch(40% 0.039 300.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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