#402A0B

Closest named color: Chocolate Brown (#411900). oklch(30.5% 0.055 72), rgb(64, 42, 11).

Aa

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

About this color

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

Hue familyBrowns
Lightnessdark (31%)
Chromamuted (0.055)
Temperaturewarm
Nearest nameChocolate Brown (#411900)
Black text1.55:1
White text13.51:1

Values

HEX#402A0B
RGBrgb(64, 42, 11)
HSLhsl(35, 71%, 15%)
OKLCHoklch(30.5% 0.055 72)

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 #402A0B 13.51:1 AAA Lc -103.0 Preferred for body text
Black text on #402A0B 1.55:1 Fails Lc 0.0 Not readable
#402A0B text on white 13.51:1 AAA Lc 99.9 Preferred for body text
#402A0B text on black 1.55: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

    #F9F5EF

    oklch(97.2% 0.009 78.3)

  2. Step 100

    100

    #F2E8DD

    oklch(93.6% 0.018 70.2)

  3. Step 200

    200

    #E9D6C0

    oklch(88.6% 0.036 71.4)

  4. Step 300

    300

    #DBBA93

    oklch(80.8% 0.064 71.4)

  5. Step 400

    400

    #C99653

    oklch(70.8% 0.104 72.3)

  6. Step 500

    500

    #BA7A09

    oklch(63.1% 0.133 72.1)

  7. Step 600

    600

    #9D6600

    oklch(55.6% 0.119 72.5)

  8. Step 700

    700

    #855500

    oklch(49.1% 0.105 71.8)

  9. Step 800

    800

    #6D4500

    oklch(42.6% 0.091 72)

  10. Step 900

    900

    #5B3900

    oklch(37.6% 0.08 72.2)

  11. Step 950

    950 (this color)

    #402A0B

    oklch(30.5% 0.055 72)

Export this scale for Tailwind in the Tailwind colors tool

#402A0B 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)#322B070.029
Deuteranopia (no green cones)#37300C0.025
Tritanopia (no blue cones)#4624240.046
Achromatopsia (no color)#2E2E2E0.055

Harmonies

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

Complementary

The opposite hue (180°).

  • #402A0B

    #402A0B

    oklch(30.5% 0.055 72)

  • #19304A

    #19304A

    oklch(30.4% 0.056 252.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #402A0B

    #402A0B

    oklch(30.5% 0.055 72)

  • #462518

    #462518

    oklch(30.5% 0.055 42)

  • #35300A

    #35300A

    oklch(30.6% 0.055 101.7)

Open the analogous palette in the generator

Split complementary

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

  • #402A0B

    #402A0B

    oklch(30.5% 0.055 72)

  • #023543

    #023543

    oklch(30.5% 0.055 222.1)

  • #2B2B4A

    #2B2B4A

    oklch(30.5% 0.055 282.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #402A0B

    #402A0B

    oklch(30.5% 0.055 72)

  • #003736

    #003736

    oklch(30.5% 0.052 192.8)

  • #382743

    #382743

    oklch(30.6% 0.054 311.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #402A0B

    #402A0B

    oklch(30.5% 0.055 72)

  • #0F3826

    #0F3826

    oklch(30.6% 0.056 161.1)

  • #19304A

    #19304A

    oklch(30.4% 0.056 252.7)

  • #422337

    #422337

    oklch(30.5% 0.056 341.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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