#401204

Closest named color: Chocolate Brown (#411900). oklch(25.7% 0.076 37.8), rgb(64, 18, 4).

Aa

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

About this color

#401204 is a dark, moderately saturated red. In OKLCH its lightness is 26%, its chroma 0.076 and its hue 38°. Its hue sits on the warm side of the wheel. The nearest named color is Chocolate Brown (#411900), ΔE 0.020 away. White text reads best on it, at 16.07:1.

Hue familyReds
Lightnessdark (26%)
Chromamoderately saturated (0.076)
Temperaturewarm
Nearest nameChocolate Brown (#411900)
Black text1.30:1
White text16.07:1

Values

HEX#401204
RGBrgb(64, 18, 4)
HSLhsl(14, 88%, 13%)
OKLCHoklch(25.7% 0.076 37.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 #401204 16.07:1 AAA Lc -105.2 Preferred for body text
Black text on #401204 1.30:1 Fails Lc 0.0 Not readable
#401204 text on white 16.07:1 AAA Lc 102.5 Preferred for body text
#401204 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

    #FDF3F0

    oklch(97.1% 0.012 37.4)

  2. Step 100

    100

    #FAE4DE

    oklch(93.5% 0.026 35.7)

  3. Step 200

    200

    #F8CFC2

    oklch(88.6% 0.05 38.3)

  4. Step 300

    300

    #F4AD97

    oklch(81% 0.09 37.9)

  5. Step 400

    400

    #EB7D5C

    oklch(70.7% 0.144 37.5)

  6. Step 500

    500

    #E15627

    oklch(63.1% 0.183 37.9)

  7. Step 600

    600

    #C63D00

    oklch(55.5% 0.182 37.9)

  8. Step 700

    700

    #A83200

    oklch(49.1% 0.162 37.8)

  9. Step 800

    800

    #8B2800

    oklch(42.8% 0.14 37.9)

  10. Step 900

    900

    #732204

    oklch(37.6% 0.12 37.8)

  11. Step 950

    950 (this color)

    #401204

    oklch(25.7% 0.076 37.8)

Export this scale for Tailwind in the Tailwind colors tool

#401204 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)#1F1B030.076
Deuteranopia (no green cones)#2B25030.068
Tritanopia (no blue cones)#47060F0.032
Achromatopsia (no color)#2121210.076

Harmonies

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

Complementary

The opposite hue (180°).

  • #401204

    #401204

    oklch(25.7% 0.076 37.8)

  • #002832

    #002832

    oklch(25.6% 0.046 218.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #401204

    #401204

    oklch(25.7% 0.076 37.8)

  • #3F0F1C

    #3F0F1C

    oklch(25.5% 0.075 7.8)

  • #351D00

    #351D00

    oklch(25.7% 0.057 67.4)

Open the analogous palette in the generator

Split complementary

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

  • #401204

    #401204

    oklch(25.7% 0.076 37.8)

  • #002A27

    #002A27

    oklch(25.7% 0.045 187.5)

  • #002542

    #002542

    oklch(25.7% 0.068 247.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #401204

    #401204

    oklch(25.7% 0.076 37.8)

  • #002C17

    #002C17

    oklch(25.8% 0.061 157)

  • #1C1D47

    #1C1D47

    oklch(25.6% 0.077 278.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #401204

    #401204

    oklch(25.7% 0.076 37.8)

  • #1A2900

    #1A2900

    oklch(25.8% 0.067 127.7)

  • #002832

    #002832

    oklch(25.6% 0.046 218.9)

  • #2D173F

    #2D173F

    oklch(25.7% 0.076 307.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #401204 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.