#40041D

Closest named color: Dark Plum (#3F012C). oklch(24.5% 0.091 2), rgb(64, 4, 29).

Aa

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

About this color

#40041D is a very dark, moderately saturated red. In OKLCH its lightness is 25%, its chroma 0.091 and its hue 2°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Plum (#3F012C), ΔE 0.032 away. White text reads best on it, at 16.75:1.

Hue familyReds
Lightnessvery dark (25%)
Chromamoderately saturated (0.091)
Temperaturewarm
Nearest nameDark Plum (#3F012C)
Black text1.25:1
White text16.75:1

Values

HEX#40041D
RGBrgb(64, 4, 29)
HSLhsl(335, 88%, 13%)
OKLCHoklch(24.5% 0.091 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 #40041D 16.75:1 AAA Lc -105.4 Preferred for body text
Black text on #40041D 1.25:1 Fails Lc 0.0 Not readable
#40041D text on white 16.75:1 AAA Lc 102.8 Preferred for body text
#40041D 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

    #FFF2F5

    oklch(97.2% 0.015 1.5)

  2. Step 100

    100

    #FDE2E8

    oklch(93.6% 0.031 2.6)

  3. Step 200

    200

    #FDC9D6

    oklch(88.5% 0.061 1.8)

  4. Step 300

    300

    #FBA3BB

    oklch(80.9% 0.108 2)

  5. Step 400

    400

    #F46B98

    oklch(70.7% 0.173 2)

  6. Step 500

    500

    #EB357F

    oklch(63% 0.221 1.9)

  7. Step 600

    600

    #D10069

    oklch(55.6% 0.224 2)

  8. Step 700

    700

    #B10058

    oklch(49.1% 0.198 2)

  9. Step 800

    800

    #920048

    oklch(42.6% 0.172 1.7)

  10. Step 900

    900

    #790A3C

    oklch(37.8% 0.145 1.8)

  11. Step 950

    950 (this color)

    #40041D

    oklch(24.5% 0.091 2)

Export this scale for Tailwind in the Tailwind colors tool

#40041D 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)#13161E0.104
Deuteranopia (no green cones)#23221C0.094
Tritanopia (no blue cones)#46000F0.027
Achromatopsia (no color)#1E1E1E0.092

Harmonies

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

Complementary

The opposite hue (180°).

  • #40041D

    #40041D

    oklch(24.5% 0.091 2)

  • #002722

    #002722

    oklch(24.5% 0.044 182.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40041D

    #40041D

    oklch(24.5% 0.091 2)

  • #370933

    #370933

    oklch(24.4% 0.091 331.8)

  • #420600

    #420600

    oklch(24.5% 0.091 32.6)

Open the analogous palette in the generator

Split complementary

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

  • #40041D

    #40041D

    oklch(24.5% 0.091 2)

  • #002910

    #002910

    oklch(24.6% 0.065 152)

  • #00262C

    #00262C

    oklch(24.6% 0.043 210.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40041D

    #40041D

    oklch(24.5% 0.091 2)

  • #1C2400

    #1C2400

    oklch(24.4% 0.059 121.2)

  • #002339

    #002339

    oklch(24.5% 0.057 241.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40041D

    #40041D

    oklch(24.5% 0.091 2)

  • #291F00

    #291F00

    oklch(24.4% 0.05 91.4)

  • #002722

    #002722

    oklch(24.5% 0.044 182.3)

  • #13194B

    #13194B

    oklch(24.4% 0.092 272.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #40041D 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.