#400F1B

Closest named color: Dark Maroon (#3C0008). oklch(25.7% 0.076 9.6), rgb(64, 15, 27).

Aa

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

About this color

#400F1B is a dark, moderately saturated red. In OKLCH its lightness is 26%, its chroma 0.076 and its hue 10°. 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.12:1.

Hue familyReds
Lightnessdark (26%)
Chromamoderately saturated (0.076)
Temperaturewarm
Nearest nameDark Maroon (#3C0008)
Black text1.30:1
White text16.12:1

Values

HEX#400F1B
RGBrgb(64, 15, 27)
HSLhsl(345, 62%, 15%)
OKLCHoklch(25.7% 0.076 9.6)

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

    #F8CCD2

    oklch(88.5% 0.05 8.9)

  4. Step 300

    300

    #F4A9B4

    oklch(81% 0.089 9.6)

  5. Step 400

    400

    #EB778D

    oklch(70.8% 0.144 9.5)

  6. Step 500

    500

    #E14D70

    oklch(63.2% 0.184 9.9)

  7. Step 600

    600

    #CC2559

    oklch(55.6% 0.201 9.5)

  8. Step 700

    700

    #B01349

    oklch(49.1% 0.187 9.5)

  9. Step 800

    800

    #8F163C

    oklch(42.7% 0.155 9.5)

  10. Step 900

    900

    #731C33

    oklch(37.7% 0.121 9.7)

  11. Step 950

    950 (this color)

    #400F1B

    oklch(25.7% 0.076 9.6)

Export this scale for Tailwind in the Tailwind colors tool

#400F1B 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)#1A1B1B0.086
Deuteranopia (no green cones)#27251A0.079
Tritanopia (no blue cones)#4607140.018
Achromatopsia (no color)#2121210.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #400F1B

    #400F1B

    oklch(25.7% 0.076 9.6)

  • #002A28

    #002A28

    oklch(25.7% 0.044 189.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #400F1B

    #400F1B

    oklch(25.7% 0.076 9.6)

  • #3A112F

    #3A112F

    oklch(25.7% 0.077 339.6)

  • #401202

    #401202

    oklch(25.6% 0.077 39.8)

Open the analogous palette in the generator

Split complementary

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

  • #400F1B

    #400F1B

    oklch(25.7% 0.076 9.6)

  • #002C19

    #002C19

    oklch(25.8% 0.059 159.3)

  • #002833

    #002833

    oklch(25.6% 0.047 221)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #400F1B

    #400F1B

    oklch(25.7% 0.076 9.6)

  • #182900

    #182900

    oklch(25.6% 0.068 129.5)

  • #002444

    #002444

    oklch(25.6% 0.072 249.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #400F1B

    #400F1B

    oklch(25.7% 0.076 9.6)

  • #2A2300

    #2A2300

    oklch(25.6% 0.053 98)

  • #002A28

    #002A28

    oklch(25.7% 0.044 189.9)

  • #1D1D47

    #1D1D47

    oklch(25.7% 0.077 279.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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