#40181F

Closest named color: Chocolate Brown (#411900). oklch(27.2% 0.063 11.4), rgb(64, 24, 31).

Aa

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

About this color

#40181F is a dark, muted red. In OKLCH its lightness is 27%, its chroma 0.063 and its hue 11°. 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 15.34:1.

Hue familyReds
Lightnessdark (27%)
Chromamuted (0.063)
Temperaturewarm
Nearest nameChocolate Brown (#411900)
Black text1.36:1
White text15.34:1

Values

HEX#40181F
RGBrgb(64, 24, 31)
HSLhsl(350, 45%, 17%)
OKLCHoklch(27.2% 0.063 11.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 #40181F 15.34:1 AAA Lc -104.7 Preferred for body text
Black text on #40181F 1.36:1 Fails Lc 0.0 Not readable
#40181F text on white 15.34:1 AAA Lc 102.0 Preferred for body text
#40181F text on black 1.36: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

    #FCF3F4

    oklch(97.1% 0.01 9.5)

  2. Step 100

    100

    #F8E4E6

    oklch(93.5% 0.022 10.6)

  3. Step 200

    200

    #F3CFD2

    oklch(88.6% 0.041 12.3)

  4. Step 300

    300

    #ECADB4

    oklch(80.8% 0.074 11.5)

  5. Step 400

    400

    #E0808E

    oklch(70.8% 0.119 11.2)

  6. Step 500

    500

    #D45C72

    oklch(63.1% 0.152 11.2)

  7. Step 600

    600

    #BF3E5A

    oklch(55.5% 0.165 11.4)

  8. Step 700

    700

    #A52F4A

    oklch(49.2% 0.154 11.5)

  9. Step 800

    800

    #86293D

    oklch(42.8% 0.127 11.5)

  10. Step 900

    900

    #6C2734

    oklch(37.8% 0.099 11.7)

  11. Step 950

    950 (this color)

    #40181F

    oklch(27.2% 0.063 11.4)

Export this scale for Tailwind in the Tailwind colors tool

#40181F 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)#20201F0.069
Deuteranopia (no green cones)#2A281E0.064
Tritanopia (no blue cones)#46131B0.016
Achromatopsia (no color)#2525250.063

Harmonies

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

Complementary

The opposite hue (180°).

  • #40181F

    #40181F

    oklch(27.2% 0.063 11.4)

  • #002E2C

    #002E2C

    oklch(27.2% 0.047 190.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40181F

    #40181F

    oklch(27.2% 0.063 11.4)

  • #3B1930

    #3B1930

    oklch(27.2% 0.063 341.1)

  • #401B0C

    #401B0C

    oklch(27.3% 0.063 41.7)

Open the analogous palette in the generator

Split complementary

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

  • #40181F

    #40181F

    oklch(27.2% 0.063 11.4)

  • #00301D

    #00301D

    oklch(27.3% 0.061 160.8)

  • #002C38

    #002C38

    oklch(27.2% 0.05 221.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40181F

    #40181F

    oklch(27.2% 0.063 11.4)

  • #1B2D08

    #1B2D08

    oklch(27.2% 0.063 131.7)

  • #0C2844

    #0C2844

    oklch(27.2% 0.062 251.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40181F

    #40181F

    oklch(27.2% 0.063 11.4)

  • #2D2700

    #2D2700

    oklch(27.1% 0.056 100.5)

  • #002E2C

    #002E2C

    oklch(27.2% 0.047 190.2)

  • #222245

    #222245

    oklch(27.2% 0.064 281.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #40181F 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.