#402A22

Closest named color: Chocolate Brown (#411900). oklch(30.9% 0.036 40.8), rgb(64, 42, 34).

Aa

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

About this color

#402A22 is a dark, muted brown. In OKLCH its lightness is 31%, its chroma 0.036 and its hue 41°. Its hue sits on the warm side of the wheel. The nearest named color is Chocolate Brown (#411900), ΔE 0.054 away. White text reads best on it, at 13.35:1.

Hue familyBrowns
Lightnessdark (31%)
Chromamuted (0.036)
Temperaturewarm
Nearest nameChocolate Brown (#411900)
Black text1.57:1
White text13.35:1

Values

HEX#402A22
RGBrgb(64, 42, 34)
HSLhsl(16, 31%, 19%)
OKLCHoklch(30.9% 0.036 40.8)

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 #402A22 13.35:1 AAA Lc -102.9 Preferred for body text
Black text on #402A22 1.57:1 Fails Lc 0.0 Not readable
#402A22 text on white 13.35:1 AAA Lc 99.7 Preferred for body text
#402A22 text on black 1.57:1 Fails Lc 0.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 950.

  1. Step 50

    50

    #F9F4F2

    oklch(97% 0.006 43.3)

  2. Step 100

    100

    #F2E7E4

    oklch(93.6% 0.013 35.7)

  3. Step 200

    200

    #E8D4CD

    oklch(88.4% 0.024 40.3)

  4. Step 300

    300

    #DAB8AC

    oklch(80.9% 0.043 40.4)

  5. Step 400

    400

    #C69380

    oklch(70.7% 0.068 41.3)

  6. Step 500

    500

    #B77760

    oklch(63.1% 0.088 40.5)

  7. Step 600

    600

    #A25F47

    oklch(55.6% 0.095 40.4)

  8. Step 700

    700

    #8A4E38

    oklch(49% 0.088 40.7)

  9. Step 800

    800

    #71402F

    oklch(42.7% 0.074 39.8)

  10. Step 900

    900

    #5B372A

    oklch(37.7% 0.056 40.6)

  11. Step 950

    950 (this color)

    #402A22

    oklch(30.9% 0.036 40.8)

Export this scale for Tailwind in the Tailwind colors tool

#402A22 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)#2F2C210.033
Deuteranopia (no green cones)#3531220.030
Tritanopia (no blue cones)#4527280.019
Achromatopsia (no color)#2F2F2F0.036

Harmonies

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

Complementary

The opposite hue (180°).

  • #402A22

    #402A22

    oklch(30.9% 0.036 40.8)

  • #1A343D

    #1A343D

    oklch(30.8% 0.036 222.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #402A22

    #402A22

    oklch(30.9% 0.036 40.8)

  • #40292C

    #40292C

    oklch(31% 0.035 10.7)

  • #3C2D1B

    #3C2D1B

    oklch(30.9% 0.037 70.9)

Open the analogous palette in the generator

Split complementary

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

  • #402A22

    #402A22

    oklch(30.9% 0.036 40.8)

  • #183634

    #183634

    oklch(30.9% 0.036 189.8)

  • #223242

    #223242

    oklch(31% 0.036 249)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #402A22

    #402A22

    oklch(30.9% 0.036 40.8)

  • #1F362A

    #1F362A

    oklch(31% 0.036 160.5)

  • #2D2E42

    #2D2E42

    oklch(30.9% 0.036 281.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #402A22

    #402A22

    oklch(30.9% 0.036 40.8)

  • #2A3421

    #2A3421

    oklch(31% 0.035 130.8)

  • #1A343D

    #1A343D

    oklch(30.8% 0.036 222.5)

  • #362B3E

    #362B3E

    oklch(30.9% 0.036 310.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #402A22 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.