#400E1C

Closest named color: Dark Maroon (#3C0008). oklch(25.6% 0.078 7.7), rgb(64, 14, 28).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (26%)
Chromamoderately saturated (0.078)
Temperaturewarm
Nearest nameDark Maroon (#3C0008)
Black text1.29:1
White text16.18:1

Values

HEX#400E1C
RGBrgb(64, 14, 28)
HSLhsl(343, 64%, 15%)
OKLCHoklch(25.6% 0.078 7.7)

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 #400E1C 16.18:1 AAA Lc -105.2 Preferred for body text
Black text on #400E1C 1.29:1 Fails Lc 0.0 Not readable
#400E1C text on white 16.18:1 AAA Lc 102.6 Preferred for body text
#400E1C text on black 1.29: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

    #FDF2F4

    oklch(97% 0.012 4.7)

  2. Step 100

    100

    #FBE3E6

    oklch(93.6% 0.027 9)

  3. Step 200

    200

    #F8CCD3

    oklch(88.5% 0.05 7.4)

  4. Step 300

    300

    #F5A8B5

    oklch(80.9% 0.092 8.2)

  5. Step 400

    400

    #EC758F

    oklch(70.7% 0.148 7.9)

  6. Step 500

    500

    #E24A74

    oklch(63.1% 0.189 7.7)

  7. Step 600

    600

    #CD215D

    oklch(55.6% 0.205 7.6)

  8. Step 700

    700

    #B10D4C

    oklch(49.1% 0.191 7.9)

  9. Step 800

    800

    #8F133F

    oklch(42.6% 0.158 7.4)

  10. Step 900

    900

    #731B35

    oklch(37.6% 0.122 7.9)

  11. Step 950

    950 (this color)

    #400E1C

    oklch(25.6% 0.078 7.7)

Export this scale for Tailwind in the Tailwind colors tool

#400E1C 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)#1A1A1C0.086
Deuteranopia (no green cones)#27241B0.078
Tritanopia (no blue cones)#4606140.019
Achromatopsia (no color)#2121210.078

Harmonies

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

Complementary

The opposite hue (180°).

  • #400E1C

    #400E1C

    oklch(25.6% 0.078 7.7)

  • #002A27

    #002A27

    oklch(25.7% 0.045 187.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #400E1C

    #400E1C

    oklch(25.6% 0.078 7.7)

  • #391130

    #391130

    oklch(25.6% 0.077 337.4)

  • #411103

    #411103

    oklch(25.7% 0.078 37.5)

Open the analogous palette in the generator

Split complementary

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

  • #400E1C

    #400E1C

    oklch(25.6% 0.078 7.7)

  • #002B17

    #002B17

    oklch(25.5% 0.06 157.7)

  • #002832

    #002832

    oklch(25.6% 0.046 218.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #400E1C

    #400E1C

    oklch(25.6% 0.078 7.7)

  • #1A2900

    #1A2900

    oklch(25.8% 0.067 127.7)

  • #002542

    #002542

    oklch(25.7% 0.068 247.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #400E1C

    #400E1C

    oklch(25.6% 0.078 7.7)

  • #2A2300

    #2A2300

    oklch(25.6% 0.053 98)

  • #002A27

    #002A27

    oklch(25.7% 0.045 187.5)

  • #1B1D47

    #1B1D47

    oklch(25.6% 0.077 277.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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