#400D04

Closest named color: Deep Brown (#410200). oklch(24.9% 0.081 33.4), rgb(64, 13, 4).

Aa

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

About this color

#400D04 is a very dark, moderately saturated red. In OKLCH its lightness is 25%, its chroma 0.081 and its hue 33°. Its hue sits on the warm side of the wheel. The nearest named color is Deep Brown (#410200), ΔE 0.018 away. White text reads best on it, at 16.44:1.

Hue familyReds
Lightnessvery dark (25%)
Chromamoderately saturated (0.081)
Temperaturewarm
Nearest nameDeep Brown (#410200)
Black text1.27:1
White text16.44:1

Values

HEX#400D04
RGBrgb(64, 13, 4)
HSLhsl(9, 88%, 13%)
OKLCHoklch(24.9% 0.081 33.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 #400D04 16.44:1 AAA Lc -105.4 Preferred for body text
Black text on #400D04 1.27:1 Fails Lc 0.0 Not readable
#400D04 text on white 16.44:1 AAA Lc 102.8 Preferred for body text
#400D04 text on black 1.27: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

    #FEF3F0

    oklch(97.2% 0.013 35.7)

  2. Step 100

    100

    #FCE4DE

    oklch(93.7% 0.028 34.3)

  3. Step 200

    200

    #FACDC3

    oklch(88.5% 0.053 32.7)

  4. Step 300

    300

    #F8AA98

    oklch(80.9% 0.096 33.5)

  5. Step 400

    400

    #F0785F

    oklch(70.6% 0.153 33.1)

  6. Step 500

    500

    #E74D2D

    oklch(63% 0.196 33.5)

  7. Step 600

    600

    #CF2C00

    oklch(55.6% 0.203 33.4)

  8. Step 700

    700

    #AF2400

    oklch(49.1% 0.179 33.5)

  9. Step 800

    800

    #911C00

    oklch(42.7% 0.156 33.4)

  10. Step 900

    900

    #771C09

    oklch(37.7% 0.128 33.2)

  11. Step 950

    950 (this color)

    #400D04

    oklch(24.9% 0.081 33.4)

Export this scale for Tailwind in the Tailwind colors tool

#400D04 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)#1C18030.085
Deuteranopia (no green cones)#2923020.076
Tritanopia (no blue cones)#47000B0.029
Achromatopsia (no color)#1F1F1F0.082

Harmonies

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

Complementary

The opposite hue (180°).

  • #400D04

    #400D04

    oklch(24.9% 0.081 33.4)

  • #00272E

    #00272E

    oklch(25% 0.044 212.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #400D04

    #400D04

    oklch(24.9% 0.081 33.4)

  • #3E0B1D

    #3E0B1D

    oklch(24.9% 0.08 3.8)

  • #341A00

    #341A00

    oklch(24.9% 0.057 62.6)

Open the analogous palette in the generator

Split complementary

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

  • #400D04

    #400D04

    oklch(24.9% 0.081 33.4)

  • #002824

    #002824

    oklch(24.9% 0.044 184.8)

  • #00243C

    #00243C

    oklch(25% 0.06 243)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #400D04

    #400D04

    oklch(24.9% 0.081 33.4)

  • #002A12

    #002A12

    oklch(25% 0.064 153.2)

  • #161C47

    #161C47

    oklch(24.9% 0.08 273.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #400D04

    #400D04

    oklch(24.9% 0.081 33.4)

  • #1C2600

    #1C2600

    oklch(25% 0.061 123.2)

  • #00272E

    #00272E

    oklch(25% 0.044 212.5)

  • #2A1540

    #2A1540

    oklch(25% 0.08 303.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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