#400B1E

Closest named color: Dark Plum (#3F012C). oklch(25.3% 0.082 3.6), rgb(64, 11, 30).

Aa

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

About this color

#400B1E is a dark, moderately saturated red. In OKLCH its lightness is 25%, its chroma 0.082 and its hue 4°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Plum (#3F012C), ΔE 0.037 away. White text reads best on it, at 16.34:1.

Hue familyReds
Lightnessdark (25%)
Chromamoderately saturated (0.082)
Temperaturewarm
Nearest nameDark Plum (#3F012C)
Black text1.28:1
White text16.34:1

Values

HEX#400B1E
RGBrgb(64, 11, 30)
HSLhsl(338, 71%, 15%)
OKLCHoklch(25.3% 0.082 3.6)

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 #400B1E 16.34:1 AAA Lc -105.3 Preferred for body text
Black text on #400B1E 1.28:1 Fails Lc 0.0 Not readable
#400B1E text on white 16.34:1 AAA Lc 102.7 Preferred for body text
#400B1E text on black 1.28: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

    #FEF2F4

    oklch(97.1% 0.013 5.8)

  2. Step 100

    100

    #FCE2E8

    oklch(93.6% 0.03 2)

  3. Step 200

    200

    #FACBD5

    oklch(88.6% 0.055 4)

  4. Step 300

    300

    #F7A6BA

    oklch(80.9% 0.098 3.4)

  5. Step 400

    400

    #EE7296

    oklch(70.7% 0.156 3.6)

  6. Step 500

    500

    #E4447C

    oklch(63% 0.2 3.7)

  7. Step 600

    600

    #CF1165

    oklch(55.5% 0.217 3.7)

  8. Step 700

    700

    #B20054

    oklch(49.2% 0.198 3.9)

  9. Step 800

    800

    #910845

    oklch(42.6% 0.167 3.5)

  10. Step 900

    900

    #75163A

    oklch(37.7% 0.131 3.6)

  11. Step 950

    950 (this color)

    #400B1E

    oklch(25.3% 0.082 3.6)

Export this scale for Tailwind in the Tailwind colors tool

#400B1E 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)#17191E0.093
Deuteranopia (no green cones)#25241D0.085
Tritanopia (no blue cones)#4603130.023
Achromatopsia (no color)#2020200.083

Harmonies

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

Complementary

The opposite hue (180°).

  • #400B1E

    #400B1E

    oklch(25.3% 0.082 3.6)

  • #002925

    #002925

    oklch(25.3% 0.045 185)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #400B1E

    #400B1E

    oklch(25.3% 0.082 3.6)

  • #380F33

    #380F33

    oklch(25.3% 0.083 332.9)

  • #420D04

    #420D04

    oklch(25.4% 0.083 33.1)

Open the analogous palette in the generator

Split complementary

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

  • #400B1E

    #400B1E

    oklch(25.3% 0.082 3.6)

  • #002B13

    #002B13

    oklch(25.4% 0.064 153.6)

  • #00282F

    #00282F

    oklch(25.4% 0.044 212.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #400B1E

    #400B1E

    oklch(25.3% 0.082 3.6)

  • #1C2700

    #1C2700

    oklch(25.3% 0.063 124.2)

  • #00253E

    #00253E

    oklch(25.4% 0.062 243.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #400B1E

    #400B1E

    oklch(25.3% 0.082 3.6)

  • #2B2100

    #2B2100

    oklch(25.2% 0.052 92.1)

  • #002925

    #002925

    oklch(25.3% 0.045 185)

  • #171D49

    #171D49

    oklch(25.4% 0.082 273.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #400B1E 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.