#400A08

Closest named color: Deep Brown (#410200). oklch(24.6% 0.083 27.5), rgb(64, 10, 8).

Aa

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

About this color

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

Hue familyReds
Lightnessvery dark (25%)
Chromamoderately saturated (0.083)
Temperaturewarm
Nearest nameDeep Brown (#410200)
Black text1.26:1
White text16.60:1

Values

HEX#400A08
RGBrgb(64, 10, 8)
HSLhsl(2, 78%, 14%)
OKLCHoklch(24.6% 0.083 27.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 #400A08 16.60:1 AAA Lc -105.4 Preferred for body text
Black text on #400A08 1.26:1 Fails Lc 0.0 Not readable
#400A08 text on white 16.60:1 AAA Lc 102.8 Preferred for body text
#400A08 text on black 1.26: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

    #FEF2F1

    oklch(97% 0.013 23.2)

  2. Step 100

    100

    #FDE3E0

    oklch(93.6% 0.029 25.6)

  3. Step 200

    200

    #FBCCC6

    oklch(88.4% 0.054 26.7)

  4. Step 300

    300

    #FAA89E

    oklch(80.9% 0.099 27.1)

  5. Step 400

    400

    #F37568

    oklch(70.8% 0.157 27.7)

  6. Step 500

    500

    #EA473F

    oklch(63.1% 0.201 27.3)

  7. Step 600

    600

    #D5151B

    oklch(55.5% 0.218 27.5)

  8. Step 700

    700

    #B7000F

    oklch(49% 0.2 27.4)

  9. Step 800

    800

    #960B0F

    oklch(42.8% 0.168 27.6)

  10. Step 900

    900

    #781815

    oklch(37.7% 0.131 27.5)

  11. Step 950

    950 (this color)

    #400A08

    oklch(24.6% 0.083 27.5)

Export this scale for Tailwind in the Tailwind colors tool

#400A08 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)#1A17070.090
Deuteranopia (no green cones)#2823060.082
Tritanopia (no blue cones)#47000A0.021
Achromatopsia (no color)#1E1E1E0.084

Harmonies

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

Complementary

The opposite hue (180°).

  • #400A08

    #400A08

    oklch(24.6% 0.083 27.5)

  • #00262B

    #00262B

    oklch(24.6% 0.042 207.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #400A08

    #400A08

    oklch(24.6% 0.083 27.5)

  • #3D0921

    #3D0921

    oklch(24.6% 0.083 357.2)

  • #351800

    #351800

    oklch(24.6% 0.059 57.6)

Open the analogous palette in the generator

Split complementary

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

  • #400A08

    #400A08

    oklch(24.6% 0.083 27.5)

  • #002821

    #002821

    oklch(24.8% 0.046 177.9)

  • #002437

    #002437

    oklch(24.7% 0.054 236.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #400A08

    #400A08

    oklch(24.6% 0.083 27.5)

  • #00290A

    #00290A

    oklch(24.5% 0.071 147.8)

  • #101C48

    #101C48

    oklch(24.6% 0.084 268.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #400A08

    #400A08

    oklch(24.6% 0.083 27.5)

  • #1F2400

    #1F2400

    oklch(24.7% 0.057 117.2)

  • #00262B

    #00262B

    oklch(24.6% 0.042 207.9)

  • #261543

    #261543

    oklch(24.7% 0.083 296.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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