#400A0D

Closest named color: Deep Brown (#410200). oklch(24.7% 0.082 22.9), rgb(64, 10, 13).

Aa

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

About this color

#400A0D is a very dark, moderately saturated red. In OKLCH its lightness is 25%, its chroma 0.082 and its hue 23°. 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.57:1.

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

Values

HEX#400A0D
RGBrgb(64, 10, 13)
HSLhsl(357, 73%, 15%)
OKLCHoklch(24.7% 0.082 22.9)

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 #400A0D 16.57:1 AAA Lc -105.4 Preferred for body text
Black text on #400A0D 1.26:1 Fails Lc 0.0 Not readable
#400A0D text on white 16.57:1 AAA Lc 102.8 Preferred for body text
#400A0D 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

    #FCE3E1

    oklch(93.6% 0.028 23.2)

  3. Step 200

    200

    #FBCCC9

    oklch(88.5% 0.054 22.5)

  4. Step 300

    300

    #F9A8A3

    oklch(80.9% 0.097 23.3)

  5. Step 400

    400

    #F27472

    oklch(70.7% 0.156 22.8)

  6. Step 500

    500

    #E9464D

    oklch(63% 0.199 22.7)

  7. Step 600

    600

    #D51430

    oklch(55.7% 0.217 22.9)

  8. Step 700

    700

    #B70024

    oklch(49.2% 0.198 23)

  9. Step 800

    800

    #950A1F

    oklch(42.7% 0.166 22.7)

  10. Step 900

    900

    #78181E

    oklch(37.8% 0.13 23.1)

  11. Step 950

    950 (this color)

    #400A0D

    oklch(24.7% 0.082 22.9)

Export this scale for Tailwind in the Tailwind colors tool

#400A0D 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)#1A170D0.089
Deuteranopia (no green cones)#27230B0.083
Tritanopia (no blue cones)#47000C0.020
Achromatopsia (no color)#1F1F1F0.083

Harmonies

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

Complementary

The opposite hue (180°).

  • #400A0D

    #400A0D

    oklch(24.7% 0.082 22.9)

  • #00272A

    #00272A

    oklch(24.8% 0.042 202.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #400A0D

    #400A0D

    oklch(24.7% 0.082 22.9)

  • #3C0A24

    #3C0A24

    oklch(24.6% 0.082 353.1)

  • #371700

    #371700

    oklch(24.8% 0.062 53.9)

Open the analogous palette in the generator

Split complementary

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

  • #400A0D

    #400A0D

    oklch(24.7% 0.082 22.9)

  • #00281F

    #00281F

    oklch(24.7% 0.047 173.7)

  • #002535

    #002535

    oklch(24.8% 0.051 231.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #400A0D

    #400A0D

    oklch(24.7% 0.082 22.9)

  • #012A01

    #012A01

    oklch(24.8% 0.082 142.6)

  • #0A1E48

    #0A1E48

    oklch(24.8% 0.083 262.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #400A0D

    #400A0D

    oklch(24.7% 0.082 22.9)

  • #212300

    #212300

    oklch(24.6% 0.055 112.9)

  • #00272A

    #00272A

    oklch(24.8% 0.042 202.5)

  • #241644

    #241644

    oklch(24.7% 0.083 293.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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