#40090F

Closest named color: Deep Brown (#410200). oklch(24.7% 0.083 20.2), rgb(64, 9, 15).

Aa

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

About this color

#40090F is a very dark, moderately saturated red. In OKLCH its lightness is 25%, its chroma 0.083 and its hue 20°. Its hue sits on the warm side of the wheel. The nearest named color is Deep Brown (#410200), ΔE 0.021 away. White text reads best on it, at 16.61:1.

Hue familyReds
Lightnessvery dark (25%)
Chromamoderately saturated (0.083)
Temperaturewarm
Nearest nameDeep Brown (#410200)
Black text1.26:1
White text16.61:1

Values

HEX#40090F
RGBrgb(64, 9, 15)
HSLhsl(353, 75%, 14%)
OKLCHoklch(24.7% 0.083 20.2)

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 #40090F 16.61:1 AAA Lc -105.4 Preferred for body text
Black text on #40090F 1.26:1 Fails Lc 0.0 Not readable
#40090F text on white 16.61:1 AAA Lc 102.9 Preferred for body text
#40090F text on black 1.26: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

    #FEF2F2

    oklch(97.1% 0.013 17.4)

  2. Step 100

    100

    #FDE3E2

    oklch(93.7% 0.029 20.3)

  3. Step 200

    200

    #FCCCCA

    oklch(88.6% 0.055 21)

  4. Step 300

    300

    #FAA7A6

    oklch(80.9% 0.099 20.2)

  5. Step 400

    400

    #F37376

    oklch(70.7% 0.158 20.5)

  6. Step 500

    500

    #EA4453

    oklch(63.1% 0.202 20.3)

  7. Step 600

    600

    #D50D38

    oklch(55.5% 0.219 20.3)

  8. Step 700

    700

    #B6002D

    oklch(49.1% 0.197 20.1)

  9. Step 800

    800

    #960524

    oklch(42.8% 0.169 20.4)

  10. Step 900

    900

    #781622

    oklch(37.7% 0.131 20.3)

  11. Step 950

    950 (this color)

    #40090F

    oklch(24.7% 0.083 20.2)

Export this scale for Tailwind in the Tailwind colors tool

#40090F 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)#19170F0.091
Deuteranopia (no green cones)#27230D0.085
Tritanopia (no blue cones)#47000C0.019
Achromatopsia (no color)#1E1E1E0.084

Harmonies

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

Complementary

The opposite hue (180°).

  • #40090F

    #40090F

    oklch(24.7% 0.083 20.2)

  • #002729

    #002729

    oklch(24.8% 0.042 200)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40090F

    #40090F

    oklch(24.7% 0.083 20.2)

  • #3C0A26

    #3C0A26

    oklch(24.7% 0.084 350.6)

  • #381500

    #381500

    oklch(24.6% 0.065 50)

Open the analogous palette in the generator

Split complementary

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

  • #40090F

    #40090F

    oklch(24.7% 0.083 20.2)

  • #00281D

    #00281D

    oklch(24.6% 0.049 169.8)

  • #002534

    #002534

    oklch(24.8% 0.049 230.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40090F

    #40090F

    oklch(24.7% 0.083 20.2)

  • #062900

    #062900

    oklch(24.6% 0.079 140)

  • #061E48

    #061E48

    oklch(24.6% 0.084 260.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40090F

    #40090F

    oklch(24.7% 0.083 20.2)

  • #222300

    #222300

    oklch(24.7% 0.054 111.4)

  • #002729

    #002729

    oklch(24.8% 0.042 200)

  • #221745

    #221745

    oklch(24.8% 0.083 290)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #40090F 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.