#40281E

Closest named color: Chocolate Brown (#411900). oklch(30.4% 0.04 43.4), rgb(64, 40, 30).

Aa

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

About this color

#40281E is a dark, muted brown. In OKLCH its lightness is 30%, its chroma 0.040 and its hue 43°. 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.63:1.

Hue familyBrowns
Lightnessdark (30%)
Chromamuted (0.040)
Temperaturewarm
Nearest nameChocolate Brown (#411900)
Black text1.54:1
White text13.63:1

Values

HEX#40281E
RGBrgb(64, 40, 30)
HSLhsl(18, 36%, 18%)
OKLCHoklch(30.4% 0.04 43.4)

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 #40281E 13.63:1 AAA Lc -103.2 Preferred for body text
Black text on #40281E 1.54:1 Fails Lc 0.0 Not readable
#40281E text on white 13.63:1 AAA Lc 100.1 Preferred for body text
#40281E text on black 1.54: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

    #F2E7E3

    oklch(93.6% 0.013 41.2)

  3. Step 200

    200

    #E9D4CB

    oklch(88.5% 0.027 44.7)

  4. Step 300

    300

    #DCB7A8

    oklch(80.8% 0.048 43.3)

  5. Step 400

    400

    #CA917A

    oklch(70.6% 0.077 42.9)

  6. Step 500

    500

    #BB7558

    oklch(63.1% 0.098 43.1)

  7. Step 600

    600

    #A65D3D

    oklch(55.6% 0.106 43.8)

  8. Step 700

    700

    #8E4C2F

    oklch(49% 0.099 43.6)

  9. Step 800

    800

    #743F28

    oklch(42.8% 0.082 43.6)

  10. Step 900

    900

    #5E3625

    oklch(37.8% 0.064 43.5)

  11. Step 950

    950 (this color)

    #40281E

    oklch(30.4% 0.04 43.4)

Export this scale for Tailwind in the Tailwind colors tool

#40281E 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)#2E2B1D0.036
Deuteranopia (no green cones)#34301E0.033
Tritanopia (no blue cones)#4624250.023
Achromatopsia (no color)#2E2E2E0.040

Harmonies

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

Complementary

The opposite hue (180°).

  • #40281E

    #40281E

    oklch(30.4% 0.04 43.4)

  • #15333E

    #15333E

    oklch(30.3% 0.041 224.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40281E

    #40281E

    oklch(30.4% 0.04 43.4)

  • #412629

    #412629

    oklch(30.4% 0.041 12.6)

  • #3B2C17

    #3B2C17

    oklch(30.5% 0.04 74.6)

Open the analogous palette in the generator

Split complementary

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

  • #40281E

    #40281E

    oklch(30.4% 0.04 43.4)

  • #123534

    #123534

    oklch(30.3% 0.04 192.7)

  • #203043

    #203043

    oklch(30.4% 0.041 253.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40281E

    #40281E

    oklch(30.4% 0.04 43.4)

  • #1A3529

    #1A3529

    oklch(30.3% 0.04 163.6)

  • #2C2C43

    #2C2C43

    oklch(30.4% 0.041 283.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40281E

    #40281E

    oklch(30.4% 0.04 43.4)

  • #27331E

    #27331E

    oklch(30.4% 0.04 132.5)

  • #15333E

    #15333E

    oklch(30.3% 0.041 224.6)

  • #36293D

    #36293D

    oklch(30.4% 0.039 313.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #40281E 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.