#40181D

Closest named color: Chocolate Brown (#411900). oklch(27.1% 0.062 14.5), rgb(64, 24, 29).

Aa

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

About this color

#40181D is a dark, muted red. In OKLCH its lightness is 27%, its chroma 0.062 and its hue 15°. Its hue sits on the warm side of the wheel. The nearest named color is Chocolate Brown (#411900), ΔE 0.041 away. White text reads best on it, at 15.36:1.

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

Values

HEX#40181D
RGBrgb(64, 24, 29)
HSLhsl(353, 45%, 17%)
OKLCHoklch(27.1% 0.062 14.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 #40181D 15.36:1 AAA Lc -104.7 Preferred for body text
Black text on #40181D 1.36:1 Fails Lc 0.0 Not readable
#40181D text on white 15.36:1 AAA Lc 102.0 Preferred for body text
#40181D 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

    #FCF3F3

    oklch(97.1% 0.01 17.3)

  2. Step 100

    100

    #F8E4E5

    oklch(93.5% 0.022 14.1)

  3. Step 200

    200

    #F3CFD1

    oklch(88.6% 0.041 14.2)

  4. Step 300

    300

    #ECAEB2

    oklch(80.9% 0.073 14.5)

  5. Step 400

    400

    #E08089

    oklch(70.6% 0.119 14.6)

  6. Step 500

    500

    #D55D6C

    oklch(63.2% 0.151 14.8)

  7. Step 600

    600

    #C03F54

    oklch(55.7% 0.164 14.8)

  8. Step 700

    700

    #A52F45

    oklch(49.1% 0.153 14.2)

  9. Step 800

    800

    #862939

    oklch(42.7% 0.127 14.3)

  10. Step 900

    900

    #6C2731

    oklch(37.7% 0.098 14.4)

  11. Step 950

    950 (this color)

    #40181D

    oklch(27.1% 0.062 14.5)

Export this scale for Tailwind in the Tailwind colors tool

#40181D 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)#21201D0.068
Deuteranopia (no green cones)#2B281C0.063
Tritanopia (no blue cones)#46131A0.016
Achromatopsia (no color)#2525250.063

Harmonies

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

Complementary

The opposite hue (180°).

  • #40181D

    #40181D

    oklch(27.1% 0.062 14.5)

  • #002E2E

    #002E2E

    oklch(27.3% 0.047 194.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40181D

    #40181D

    oklch(27.1% 0.062 14.5)

  • #3B192E

    #3B192E

    oklch(27.1% 0.062 344.1)

  • #3F1B0A

    #3F1B0A

    oklch(27.1% 0.062 44.2)

Open the analogous palette in the generator

Split complementary

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

  • #40181D

    #40181D

    oklch(27.1% 0.062 14.5)

  • #002F1F

    #002F1F

    oklch(27% 0.057 164.4)

  • #002C39

    #002C39

    oklch(27.2% 0.051 223.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40181D

    #40181D

    oklch(27.1% 0.062 14.5)

  • #192D0B

    #192D0B

    oklch(27.1% 0.062 134.5)

  • #0F2744

    #0F2744

    oklch(27% 0.062 254.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40181D

    #40181D

    oklch(27.1% 0.062 14.5)

  • #2B2800

    #2B2800

    oklch(27.1% 0.058 105.3)

  • #002E2E

    #002E2E

    oklch(27.3% 0.047 194.8)

  • #242144

    #242144

    oklch(27.1% 0.064 285.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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