#40001B

Closest named color: Dark Plum (#3F012C). oklch(24% 0.097 2.6), rgb(64, 0, 27).

Aa

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

About this color

#40001B is a very dark, moderately saturated red. In OKLCH its lightness is 24%, its chroma 0.097 and its hue 3°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Plum (#3F012C), ΔE 0.033 away. White text reads best on it, at 17.02:1.

Hue familyReds
Lightnessvery dark (24%)
Chromamoderately saturated (0.097)
Temperaturewarm
Nearest nameDark Plum (#3F012C)
Black text1.23:1
White text17.02:1

Values

HEX#40001B
RGBrgb(64, 0, 27)
HSLhsl(335, 100%, 13%)
OKLCHoklch(24% 0.097 2.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 #40001B 17.02:1 AAA Lc -105.4 Preferred for body text
Black text on #40001B 1.23:1 Fails Lc 0.0 Not readable
#40001B text on white 17.02:1 AAA Lc 102.8 Preferred for body text
#40001B 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

    #FFF1F4

    oklch(97% 0.016 2.7)

  2. Step 100

    100

    #FEE1E8

    oklch(93.5% 0.033 1.4)

  3. Step 200

    200

    #FFC8D5

    oklch(88.5% 0.065 2.7)

  4. Step 300

    300

    #FEA1BA

    oklch(80.9% 0.114 2.5)

  5. Step 400

    400

    #F96796

    oklch(70.8% 0.183 2.9)

  6. Step 500

    500

    #F0297D

    oklch(63.1% 0.234 2.5)

  7. Step 600

    600

    #D10067

    oklch(55.5% 0.224 2.7)

  8. Step 700

    700

    #B10057

    oklch(49.1% 0.198 2.4)

  9. Step 800

    800

    #930046

    oklch(42.8% 0.172 3)

  10. Step 900

    900

    #7B003A

    oklch(37.6% 0.152 2.7)

  11. Step 950

    950 (this color)

    #40001B

    oklch(24% 0.097 2.6)

Export this scale for Tailwind in the Tailwind colors tool

#40001B 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)#11141C0.110
Deuteranopia (no green cones)#2221190.100
Tritanopia (no blue cones)#47000C0.032
Achromatopsia (no color)#1C1C1C0.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #40001B

    #40001B

    oklch(24% 0.097 2.6)

  • #002621

    #002621

    oklch(24.1% 0.043 182)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40001B

    #40001B

    oklch(24% 0.097 2.6)

  • #370532

    #370532

    oklch(23.9% 0.096 332.7)

  • #400600

    #400600

    oklch(24.1% 0.089 32.9)

Open the analogous palette in the generator

Split complementary

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

  • #40001B

    #40001B

    oklch(24% 0.097 2.6)

  • #002710

    #002710

    oklch(23.9% 0.062 153)

  • #00242B

    #00242B

    oklch(23.9% 0.042 213.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40001B

    #40001B

    oklch(24% 0.097 2.6)

  • #1A2300

    #1A2300

    oklch(23.9% 0.058 122.7)

  • #002138

    #002138

    oklch(23.8% 0.058 243.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40001B

    #40001B

    oklch(24% 0.097 2.6)

  • #271E00

    #271E00

    oklch(23.9% 0.049 92.8)

  • #002621

    #002621

    oklch(24.1% 0.043 182)

  • #12174C

    #12174C

    oklch(24% 0.097 272.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #40001B 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.