#400D0F

Closest named color: Deep Brown (#410200). oklch(25.1% 0.079 22.8), rgb(64, 13, 15).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (25%)
Chromamoderately saturated (0.079)
Temperaturewarm
Nearest nameDeep Brown (#410200)
Black text1.28:1
White text16.37:1

Values

HEX#400D0F
RGBrgb(64, 13, 15)
HSLhsl(358, 66%, 15%)
OKLCHoklch(25.1% 0.079 22.8)

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 #400D0F 16.37:1 AAA Lc -105.3 Preferred for body text
Black text on #400D0F 1.28:1 Fails Lc 0.0 Not readable
#400D0F text on white 16.37:1 AAA Lc 102.7 Preferred for body text
#400D0F text on black 1.28: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

    #FACCC9

    oklch(88.4% 0.052 22.6)

  4. Step 300

    300

    #F7A9A5

    oklch(80.9% 0.093 22.6)

  5. Step 400

    400

    #EF7774

    oklch(70.7% 0.149 23)

  6. Step 500

    500

    #E64C50

    oklch(63.2% 0.19 23)

  7. Step 600

    600

    #D12134

    oklch(55.6% 0.207 22.8)

  8. Step 700

    700

    #B50D27

    oklch(49.2% 0.193 22.8)

  9. Step 800

    800

    #931421

    oklch(42.8% 0.16 23.1)

  10. Step 900

    900

    #761B20

    oklch(37.7% 0.125 22.8)

  11. Step 950

    950 (this color)

    #400D0F

    oklch(25.1% 0.079 22.8)

Export this scale for Tailwind in the Tailwind colors tool

#400D0F 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)#1B190F0.085
Deuteranopia (no green cones)#28240D0.079
Tritanopia (no blue cones)#47010E0.022
Achromatopsia (no color)#2020200.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #400D0F

    #400D0F

    oklch(25.1% 0.079 22.8)

  • #00282B

    #00282B

    oklch(25.2% 0.043 202.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #400D0F

    #400D0F

    oklch(25.1% 0.079 22.8)

  • #3C0D25

    #3C0D25

    oklch(25% 0.078 352.8)

  • #391700

    #391700

    oklch(25.1% 0.064 52.2)

Open the analogous palette in the generator

Split complementary

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

  • #400D0F

    #400D0F

    oklch(25.1% 0.079 22.8)

  • #002920

    #002920

    oklch(25.1% 0.048 174.1)

  • #002637

    #002637

    oklch(25.3% 0.052 232.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #400D0F

    #400D0F

    oklch(25.1% 0.079 22.8)

  • #032B03

    #032B03

    oklch(25.2% 0.08 142.7)

  • #0C1F47

    #0C1F47

    oklch(25% 0.079 262.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #400D0F

    #400D0F

    oklch(25.1% 0.079 22.8)

  • #222400

    #222400

    oklch(25% 0.056 112.9)

  • #00282B

    #00282B

    oklch(25.2% 0.043 202.4)

  • #241844

    #241844

    oklch(25.1% 0.079 292.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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