#40281B

Closest named color: Chocolate Brown (#411900). oklch(30.3% 0.042 49), rgb(64, 40, 27).

Aa

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

About this color

#40281B is a dark, muted brown. In OKLCH its lightness is 30%, its chroma 0.042 and its hue 49°. Its hue sits on the warm side of the wheel. The nearest named color is Chocolate Brown (#411900), ΔE 0.045 away. White text reads best on it, at 13.65:1.

Hue familyBrowns
Lightnessdark (30%)
Chromamuted (0.042)
Temperaturewarm
Nearest nameChocolate Brown (#411900)
Black text1.53:1
White text13.65:1

Values

HEX#40281B
RGBrgb(64, 40, 27)
HSLhsl(21, 41%, 18%)
OKLCHoklch(30.3% 0.042 49)

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

    #F2E7E2

    oklch(93.5% 0.014 46.2)

  3. Step 200

    200

    #E9D4C9

    oklch(88.4% 0.028 49.6)

  4. Step 300

    300

    #DDB8A5

    oklch(81% 0.05 48.7)

  5. Step 400

    400

    #CA9274

    oklch(70.7% 0.08 49.2)

  6. Step 500

    500

    #BB764F

    oklch(63.1% 0.102 49.6)

  7. Step 600

    600

    #A75D32

    oklch(55.6% 0.112 49)

  8. Step 700

    700

    #8F4C25

    oklch(49.1% 0.104 48.6)

  9. Step 800

    800

    #743F20

    oklch(42.7% 0.086 49.2)

  10. Step 900

    900

    #5E3620

    oklch(37.7% 0.067 48.6)

  11. Step 950

    950 (this color)

    #40281B

    oklch(30.3% 0.042 49)

Export this scale for Tailwind in the Tailwind colors tool

#40281B 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)#2F2A1A0.034
Deuteranopia (no green cones)#34301B0.033
Tritanopia (no blue cones)#4624250.026
Achromatopsia (no color)#2E2E2E0.042

Harmonies

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

Complementary

The opposite hue (180°).

  • #40281B

    #40281B

    oklch(30.3% 0.042 49)

  • #153340

    #153340

    oklch(30.4% 0.043 228.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40281B

    #40281B

    oklch(30.3% 0.042 49)

  • #422626

    #422626

    oklch(30.4% 0.043 19.8)

  • #3A2C14

    #3A2C14

    oklch(30.3% 0.043 79.5)

Open the analogous palette in the generator

Split complementary

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

  • #40281B

    #40281B

    oklch(30.3% 0.042 49)

  • #0F3537

    #0F3537

    oklch(30.3% 0.042 200.1)

  • #212F44

    #212F44

    oklch(30.3% 0.043 258.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40281B

    #40281B

    oklch(30.3% 0.042 49)

  • #16352B

    #16352B

    oklch(30.2% 0.042 170.1)

  • #2E2B43

    #2E2B43

    oklch(30.4% 0.043 289.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40281B

    #40281B

    oklch(30.3% 0.042 49)

  • #23341F

    #23341F

    oklch(30.3% 0.043 139.7)

  • #153340

    #153340

    oklch(30.4% 0.043 228.8)

  • #38283C

    #38283C

    oklch(30.4% 0.041 319.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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