#400A1D

Closest named color: Dark Maroon (#3C0008). oklch(25.2% 0.083 4.4), rgb(64, 10, 29).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (25%)
Chromamoderately saturated (0.083)
Temperaturewarm
Nearest nameDark Maroon (#3C0008)
Black text1.27:1
White text16.41:1

Values

HEX#400A1D
RGBrgb(64, 10, 29)
HSLhsl(339, 73%, 15%)
OKLCHoklch(25.2% 0.083 4.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 #400A1D 16.41:1 AAA Lc -105.3 Preferred for body text
Black text on #400A1D 1.27:1 Fails Lc 0.0 Not readable
#400A1D text on white 16.41:1 AAA Lc 102.7 Preferred for body text
#400A1D 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

    #FEF2F4

    oklch(97.1% 0.013 5.8)

  2. Step 100

    100

    #FCE2E7

    oklch(93.5% 0.029 4.5)

  3. Step 200

    200

    #FACBD4

    oklch(88.5% 0.054 5.4)

  4. Step 300

    300

    #F7A6B9

    oklch(80.9% 0.098 4.2)

  5. Step 400

    400

    #EF7194

    oklch(70.6% 0.158 4.5)

  6. Step 500

    500

    #E5437A

    oklch(63.1% 0.201 4.5)

  7. Step 600

    600

    #D10B63

    oklch(55.7% 0.22 4.6)

  8. Step 700

    700

    #B20053

    oklch(49.1% 0.198 4.4)

  9. Step 800

    800

    #920443

    oklch(42.6% 0.169 4.6)

  10. Step 900

    900

    #761539

    oklch(37.8% 0.133 4.4)

  11. Step 950

    950 (this color)

    #400A1D

    oklch(25.2% 0.083 4.4)

Export this scale for Tailwind in the Tailwind colors tool

#400A1D 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)#17191D0.094
Deuteranopia (no green cones)#25231C0.084
Tritanopia (no blue cones)#4602120.022
Achromatopsia (no color)#1F1F1F0.084

Harmonies

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

Complementary

The opposite hue (180°).

  • #400A1D

    #400A1D

    oklch(25.2% 0.083 4.4)

  • #002925

    #002925

    oklch(25.3% 0.045 185)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #400A1D

    #400A1D

    oklch(25.2% 0.083 4.4)

  • #380E32

    #380E32

    oklch(25.1% 0.083 333.9)

  • #410D02

    #410D02

    oklch(25.1% 0.083 35.2)

Open the analogous palette in the generator

Split complementary

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

  • #400A1D

    #400A1D

    oklch(25.2% 0.083 4.4)

  • #002A13

    #002A13

    oklch(25% 0.063 154.2)

  • #00272F

    #00272F

    oklch(25.1% 0.044 214.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #400A1D

    #400A1D

    oklch(25.2% 0.083 4.4)

  • #1C2700

    #1C2700

    oklch(25.3% 0.063 124.2)

  • #00243E

    #00243E

    oklch(25.2% 0.063 245)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #400A1D

    #400A1D

    oklch(25.2% 0.083 4.4)

  • #2A2100

    #2A2100

    oklch(25.1% 0.051 93.9)

  • #002925

    #002925

    oklch(25.3% 0.045 185)

  • #171C49

    #171C49

    oklch(25.2% 0.083 274)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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