#402A15

Closest named color: Chocolate Brown (#411900). oklch(30.6% 0.047 63.3), rgb(64, 42, 21).

Aa

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

About this color

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

Hue familyBrowns
Lightnessdark (31%)
Chromamuted (0.047)
Temperaturewarm
Nearest nameChocolate Brown (#411900)
Black text1.56:1
White text13.46:1

Values

HEX#402A15
RGBrgb(64, 42, 21)
HSLhsl(29, 51%, 17%)
OKLCHoklch(30.6% 0.047 63.3)

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 #402A15 13.46:1 AAA Lc -103.0 Preferred for body text
Black text on #402A15 1.56:1 Fails Lc 0.0 Not readable
#402A15 text on white 13.46:1 AAA Lc 99.8 Preferred for body text
#402A15 text on black 1.56: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

    #F9F4F0

    oklch(97% 0.008 61.5)

  2. Step 100

    100

    #F2E8DF

    oklch(93.6% 0.016 64.7)

  3. Step 200

    200

    #E8D5C5

    oklch(88.4% 0.03 62.5)

  4. Step 300

    300

    #DBBA9C

    oklch(81% 0.056 64.2)

  5. Step 400

    400

    #C89565

    oklch(70.8% 0.089 63.9)

  6. Step 500

    500

    #B97939

    oklch(63.1% 0.113 63.1)

  7. Step 600

    600

    #A4610C

    oklch(55.6% 0.122 63.7)

  8. Step 700

    700

    #8C5000

    oklch(49.1% 0.112 63.2)

  9. Step 800

    800

    #724205

    oklch(42.8% 0.094 64)

  10. Step 900

    900

    #5D3811

    oklch(37.8% 0.074 63.1)

  11. Step 950

    950 (this color)

    #402A15

    oklch(30.6% 0.047 63.3)

Export this scale for Tailwind in the Tailwind colors tool

#402A15 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)#312C130.031
Deuteranopia (no green cones)#3631150.029
Tritanopia (no blue cones)#4625250.036
Achromatopsia (no color)#2F2F2F0.047

Harmonies

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

Complementary

The opposite hue (180°).

  • #402A15

    #402A15

    oklch(30.6% 0.047 63.3)

  • #193245

    #193245

    oklch(30.6% 0.046 243)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #402A15

    #402A15

    oklch(30.6% 0.047 63.3)

  • #442620

    #442620

    oklch(30.6% 0.047 32.1)

  • #372F11

    #372F11

    oklch(30.6% 0.047 94.5)

Open the analogous palette in the generator

Split complementary

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

  • #402A15

    #402A15

    oklch(30.6% 0.047 63.3)

  • #0C353D

    #0C353D

    oklch(30.5% 0.046 213.4)

  • #282E47

    #282E47

    oklch(30.8% 0.046 273.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #402A15

    #402A15

    oklch(30.6% 0.047 63.3)

  • #0D3732

    #0D3732

    oklch(30.7% 0.046 183.9)

  • #342943

    #342943

    oklch(30.5% 0.048 303.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #402A15

    #402A15

    oklch(30.6% 0.047 63.3)

  • #1B3624

    #1B3624

    oklch(30.5% 0.047 153.6)

  • #193245

    #193245

    oklch(30.6% 0.046 243)

  • #3E2639

    #3E2639

    oklch(30.6% 0.047 334.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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