#400D02

Closest named color: Deep Brown (#410200). oklch(24.9% 0.082 35.4), rgb(64, 13, 2).

Aa

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

About this color

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

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

Values

HEX#400D02
RGBrgb(64, 13, 2)
HSLhsl(11, 94%, 13%)
OKLCHoklch(24.9% 0.082 35.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 #400D02 16.45:1 AAA Lc -105.4 Preferred for body text
Black text on #400D02 1.27:1 Fails Lc 0.0 Not readable
#400D02 text on white 16.45:1 AAA Lc 102.8 Preferred for body text
#400D02 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

    #FCE4DD

    oklch(93.6% 0.028 36.9)

  3. Step 200

    200

    #FACDC1

    oklch(88.4% 0.054 35.4)

  4. Step 300

    300

    #F8AA96

    oklch(80.8% 0.097 35)

  5. Step 400

    400

    #F0795A

    oklch(70.7% 0.154 35.6)

  6. Step 500

    500

    #E84D24

    oklch(63.1% 0.198 35.2)

  7. Step 600

    600

    #CB3500

    oklch(55.6% 0.193 35.4)

  8. Step 700

    700

    #AC2B00

    oklch(49.1% 0.171 35.3)

  9. Step 800

    800

    #8E2200

    oklch(42.7% 0.148 35.4)

  10. Step 900

    900

    #771C02

    oklch(37.7% 0.129 35.2)

  11. Step 950

    950 (this color)

    #400D02

    oklch(24.9% 0.082 35.4)

Export this scale for Tailwind in the Tailwind colors tool

#400D02 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)#1C18010.085
Deuteranopia (no green cones)#2923010.075
Tritanopia (no blue cones)#48000B0.031
Achromatopsia (no color)#1F1F1F0.082

Harmonies

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

Complementary

The opposite hue (180°).

  • #400D02

    #400D02

    oklch(24.9% 0.082 35.4)

  • #00262F

    #00262F

    oklch(24.8% 0.044 217.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #400D02

    #400D02

    oklch(24.9% 0.082 35.4)

  • #3F0A1C

    #3F0A1C

    oklch(24.9% 0.082 5.1)

  • #331B00

    #331B00

    oklch(24.9% 0.056 65.9)

Open the analogous palette in the generator

Split complementary

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

  • #400D02

    #400D02

    oklch(24.9% 0.082 35.4)

  • #002824

    #002824

    oklch(24.9% 0.044 184.8)

  • #00233D

    #00233D

    oklch(24.8% 0.063 245.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #400D02

    #400D02

    oklch(24.9% 0.082 35.4)

  • #002A14

    #002A14

    oklch(25% 0.062 155.2)

  • #181B47

    #181B47

    oklch(24.9% 0.081 275.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #400D02

    #400D02

    oklch(24.9% 0.082 35.4)

  • #1A2600

    #1A2600

    oklch(24.8% 0.063 125.5)

  • #00262F

    #00262F

    oklch(24.8% 0.044 217.5)

  • #2B1440

    #2B1440

    oklch(24.9% 0.082 305.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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