#40011A

Closest named color: Dark Maroon (#3C0008). oklch(24.1% 0.095 4.1), rgb(64, 1, 26).

Aa

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

About this color

#40011A is a very dark, moderately saturated red. In OKLCH its lightness is 24%, its chroma 0.095 and its hue 4°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Maroon (#3C0008), ΔE 0.031 away. White text reads best on it, at 16.97:1.

Hue familyReds
Lightnessvery dark (24%)
Chromamoderately saturated (0.095)
Temperaturewarm
Nearest nameDark Maroon (#3C0008)
Black text1.23:1
White text16.97:1

Values

HEX#40011A
RGBrgb(64, 1, 26)
HSLhsl(336, 97%, 13%)
OKLCHoklch(24.1% 0.095 4.1)

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 #40011A 16.97:1 AAA Lc -105.4 Preferred for body text
Black text on #40011A 1.23:1 Fails Lc 0.0 Not readable
#40011A text on white 16.97:1 AAA Lc 102.9 Preferred for body text
#40011A text on black 1.23: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

    #FFF2F4

    oklch(97.2% 0.014 6.7)

  2. Step 100

    100

    #FEE1E7

    oklch(93.5% 0.033 3.7)

  3. Step 200

    200

    #FEC9D4

    oklch(88.5% 0.062 4.5)

  4. Step 300

    300

    #FEA2B8

    oklch(81% 0.112 4.3)

  5. Step 400

    400

    #F86893

    oklch(70.7% 0.18 4.3)

  6. Step 500

    500

    #F02D79

    oklch(63.2% 0.23 4.2)

  7. Step 600

    600

    #D20064

    oklch(55.6% 0.224 4.1)

  8. Step 700

    700

    #B20053

    oklch(49.1% 0.198 4.4)

  9. Step 800

    800

    #930044

    oklch(42.7% 0.172 4)

  10. Step 900

    900

    #7B0238

    oklch(37.6% 0.15 4.1)

  11. Step 950

    950 (this color)

    #40011A

    oklch(24.1% 0.095 4.1)

Export this scale for Tailwind in the Tailwind colors tool

#40011A 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)#12141B0.108
Deuteranopia (no green cones)#2321180.097
Tritanopia (no blue cones)#47000C0.030
Achromatopsia (no color)#1C1C1C0.096

Harmonies

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

Complementary

The opposite hue (180°).

  • #40011A

    #40011A

    oklch(24.1% 0.095 4.1)

  • #002622

    #002622

    oklch(24.1% 0.043 184.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40011A

    #40011A

    oklch(24.1% 0.095 4.1)

  • #380631

    #380631

    oklch(24.1% 0.095 334.6)

  • #3F0800

    #3F0800

    oklch(24.1% 0.086 34.3)

Open the analogous palette in the generator

Split complementary

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

  • #40011A

    #40011A

    oklch(24.1% 0.095 4.1)

  • #002711

    #002711

    oklch(23.9% 0.06 153.9)

  • #00242C

    #00242C

    oklch(24% 0.043 216)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40011A

    #40011A

    oklch(24.1% 0.095 4.1)

  • #192400

    #192400

    oklch(24.1% 0.06 124.9)

  • #002139

    #002139

    oklch(23.9% 0.06 244.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40011A

    #40011A

    oklch(24.1% 0.095 4.1)

  • #271F00

    #271F00

    oklch(24.2% 0.05 95.1)

  • #002622

    #002622

    oklch(24.1% 0.043 184.5)

  • #14174B

    #14174B

    oklch(24.1% 0.095 274.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #40011A 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.