#40180B

Closest named color: Chocolate Brown (#411900). oklch(26.7% 0.066 38.3), rgb(64, 24, 11).

Aa

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

About this color

#40180B is a dark, muted red. In OKLCH its lightness is 27%, its chroma 0.066 and its hue 38°. Its hue sits on the warm side of the wheel. The nearest named color is Chocolate Brown (#411900), ΔE 0.015 away. White text reads best on it, at 15.51:1.

Hue familyReds
Lightnessdark (27%)
Chromamuted (0.066)
Temperaturewarm
Nearest nameChocolate Brown (#411900)
Black text1.35:1
White text15.51:1

Values

HEX#40180B
RGBrgb(64, 24, 11)
HSLhsl(15, 71%, 15%)
OKLCHoklch(26.7% 0.066 38.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 #40180B 15.51:1 AAA Lc -104.8 Preferred for body text
Black text on #40180B 1.35:1 Fails Lc 0.0 Not readable
#40180B text on white 15.51:1 AAA Lc 102.1 Preferred for body text
#40180B text on black 1.35: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

    #FCF3F0

    oklch(97% 0.011 39.4)

  2. Step 100

    100

    #F8E5DF

    oklch(93.5% 0.022 38.3)

  3. Step 200

    200

    #F4D0C5

    oklch(88.5% 0.043 37.7)

  4. Step 300

    300

    #EEB09C

    oklch(81% 0.078 38.6)

  5. Step 400

    400

    #E38365

    oklch(70.7% 0.126 38.1)

  6. Step 500

    500

    #D86038

    oklch(63.2% 0.161 38.5)

  7. Step 600

    600

    #C3410C

    oklch(55.5% 0.175 38.3)

  8. Step 700

    700

    #A73300

    oklch(49% 0.16 38.2)

  9. Step 800

    800

    #892B05

    oklch(42.8% 0.135 38.4)

  10. Step 900

    900

    #6E2811

    oklch(37.7% 0.105 37.9)

  11. Step 950

    950 (this color)

    #40180B

    oklch(26.7% 0.066 38.3)

Export this scale for Tailwind in the Tailwind colors tool

#40180B 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)#231F090.065
Deuteranopia (no green cones)#2D270A0.058
Tritanopia (no blue cones)#470F150.031
Achromatopsia (no color)#2424240.067

Harmonies

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

Complementary

The opposite hue (180°).

  • #40180B

    #40180B

    oklch(26.7% 0.066 38.3)

  • #002B35

    #002B35

    oklch(26.7% 0.048 217.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40180B

    #40180B

    oklch(26.7% 0.066 38.3)

  • #40161F

    #40161F

    oklch(26.9% 0.066 9.4)

  • #381F00

    #381F00

    oklch(26.6% 0.059 67.6)

Open the analogous palette in the generator

Split complementary

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

  • #40180B

    #40180B

    oklch(26.7% 0.066 38.3)

  • #002D2A

    #002D2A

    oklch(26.8% 0.047 187.9)

  • #042744

    #042744

    oklch(26.6% 0.067 248.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40180B

    #40180B

    oklch(26.7% 0.066 38.3)

  • #002F1A

    #002F1A

    oklch(26.9% 0.063 158.2)

  • #1F2145

    #1F2145

    oklch(26.7% 0.066 278.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40180B

    #40180B

    oklch(26.7% 0.066 38.3)

  • #1C2C03

    #1C2C03

    oklch(26.9% 0.067 128.7)

  • #002B35

    #002B35

    oklch(26.7% 0.048 217.8)

  • #2F1C3E

    #2F1C3E

    oklch(26.8% 0.065 308.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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