#40271C

Closest named color: Chocolate Brown (#411900). oklch(30.1% 0.042 44.5), rgb(64, 39, 28).

Aa

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

About this color

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

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

Values

HEX#40271C
RGBrgb(64, 39, 28)
HSLhsl(18, 39%, 18%)
OKLCHoklch(30.1% 0.042 44.5)

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 #40271C 13.77:1 AAA Lc -103.3 Preferred for body text
Black text on #40271C 1.52:1 Fails Lc 0.0 Not readable
#40271C text on white 13.77:1 AAA Lc 100.2 Preferred for body text
#40271C text on black 1.52: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

    #FAF4F2

    oklch(97.1% 0.007 39.5)

  2. Step 100

    100

    #F3E7E2

    oklch(93.6% 0.015 44.2)

  3. Step 200

    200

    #EAD4CA

    oklch(88.5% 0.028 46.1)

  4. Step 300

    300

    #DEB7A6

    oklch(80.9% 0.051 44.8)

  5. Step 400

    400

    #CC9177

    oklch(70.8% 0.081 44.7)

  6. Step 500

    500

    #BD7454

    oklch(63.1% 0.103 44.1)

  7. Step 600

    600

    #A85C38

    oklch(55.6% 0.111 45)

  8. Step 700

    700

    #904B2B

    oklch(49.1% 0.104 44.4)

  9. Step 800

    800

    #753E24

    oklch(42.7% 0.086 45)

  10. Step 900

    900

    #5F3522

    oklch(37.7% 0.068 44.6)

  11. Step 950

    950 (this color)

    #40271C

    oklch(30.1% 0.042 44.5)

Export this scale for Tailwind in the Tailwind colors tool

#40271C 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)#2E2A1B0.037
Deuteranopia (no green cones)#332F1C0.035
Tritanopia (no blue cones)#4623240.024
Achromatopsia (no color)#2D2D2D0.043

Harmonies

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

Complementary

The opposite hue (180°).

  • #40271C

    #40271C

    oklch(30.1% 0.042 44.5)

  • #13333E

    #13333E

    oklch(30.2% 0.042 223.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40271C

    #40271C

    oklch(30.1% 0.042 44.5)

  • #412527

    #412527

    oklch(30.1% 0.043 15.3)

  • #3B2B14

    #3B2B14

    oklch(30.2% 0.043 74.9)

Open the analogous palette in the generator

Split complementary

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

  • #40271C

    #40271C

    oklch(30.1% 0.042 44.5)

  • #0E3534

    #0E3534

    oklch(30.2% 0.043 192.7)

  • #1F2F43

    #1F2F43

    oklch(30.1% 0.042 254.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40271C

    #40271C

    oklch(30.1% 0.042 44.5)

  • #173528

    #173528

    oklch(30.1% 0.044 163.6)

  • #2C2B43

    #2C2B43

    oklch(30.2% 0.043 285.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40271C

    #40271C

    oklch(30.1% 0.042 44.5)

  • #25331D

    #25331D

    oklch(30.2% 0.042 134.7)

  • #13333E

    #13333E

    oklch(30.2% 0.042 223.5)

  • #36283D

    #36283D

    oklch(30.2% 0.042 314.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #40271C 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.