#400802

Closest named color: Deep Brown (#410200). oklch(24.3% 0.086 32), rgb(64, 8, 2).

Aa

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

About this color

#400802 is a very dark, moderately saturated red. In OKLCH its lightness is 24%, its chroma 0.086 and its hue 32°. Its hue sits on the warm side of the wheel. The nearest named color is Deep Brown (#410200), ΔE 0.010 away. White text reads best on it, at 16.75:1.

Hue familyReds
Lightnessvery dark (24%)
Chromamoderately saturated (0.086)
Temperaturewarm
Nearest nameDeep Brown (#410200)
Black text1.25:1
White text16.75:1

Values

HEX#400802
RGBrgb(64, 8, 2)
HSLhsl(6, 94%, 13%)
OKLCHoklch(24.3% 0.086 32)

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 #400802 16.75:1 AAA Lc -105.5 Preferred for body text
Black text on #400802 1.25:1 Fails Lc 0.0 Not readable
#400802 text on white 16.75:1 AAA Lc 102.9 Preferred for body text
#400802 text on black 1.25: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

    #FFF2F0

    oklch(97.1% 0.014 28)

  2. Step 100

    100

    #FDE3DE

    oklch(93.6% 0.03 30.6)

  3. Step 200

    200

    #FCCCC2

    oklch(88.4% 0.056 31.8)

  4. Step 300

    300

    #FBA897

    oklch(80.8% 0.102 32.1)

  5. Step 400

    400

    #F5745C

    oklch(70.7% 0.164 32.2)

  6. Step 500

    500

    #ED4529

    oklch(63.2% 0.209 32.1)

  7. Step 600

    600

    #D22400

    oklch(55.6% 0.21 32)

  8. Step 700

    700

    #B21D00

    oklch(49.1% 0.186 32)

  9. Step 800

    800

    #931600

    oklch(42.7% 0.162 32)

  10. Step 900

    900

    #7A1605

    oklch(37.7% 0.137 32.1)

  11. Step 950

    950 (this color)

    #400802

    oklch(24.3% 0.086 32)

Export this scale for Tailwind in the Tailwind colors tool

#400802 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)#1A16010.092
Deuteranopia (no green cones)#2822000.082
Tritanopia (no blue cones)#4800070.023
Achromatopsia (no color)#1E1E1E0.087

Harmonies

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

Complementary

The opposite hue (180°).

  • #400802

    #400802

    oklch(24.3% 0.086 32)

  • #00252C

    #00252C

    oklch(24.3% 0.043 213.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #400802

    #400802

    oklch(24.3% 0.086 32)

  • #3E061D

    #3E061D

    oklch(24.3% 0.087 1.6)

  • #321900

    #321900

    oklch(24.3% 0.055 63)

Open the analogous palette in the generator

Split complementary

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

  • #400802

    #400802

    oklch(24.3% 0.086 32)

  • #002722

    #002722

    oklch(24.5% 0.044 182.3)

  • #002239

    #002239

    oklch(24.2% 0.058 243)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #400802

    #400802

    oklch(24.3% 0.086 32)

  • #002810

    #002810

    oklch(24.3% 0.063 152.5)

  • #131A48

    #131A48

    oklch(24.3% 0.086 271.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #400802

    #400802

    oklch(24.3% 0.086 32)

  • #1B2400

    #1B2400

    oklch(24.3% 0.059 122.5)

  • #00252C

    #00252C

    oklch(24.3% 0.043 213.2)

  • #281241

    #281241

    oklch(24.3% 0.086 301.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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