#40051D

Closest named color: Dark Plum (#3F012C). oklch(24.6% 0.09 2.4), rgb(64, 5, 29).

Aa

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

About this color

#40051D is a very dark, moderately saturated red. In OKLCH its lightness is 25%, its chroma 0.090 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.70:1.

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

Values

HEX#40051D
RGBrgb(64, 5, 29)
HSLhsl(336, 86%, 14%)
OKLCHoklch(24.6% 0.09 2.4)

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 #40051D 16.70:1 AAA Lc -105.4 Preferred for body text
Black text on #40051D 1.25:1 Fails Lc 0.0 Not readable
#40051D text on white 16.70:1 AAA Lc 102.8 Preferred for body text
#40051D 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

    #FEF2F4

    oklch(97.1% 0.013 5.8)

  2. Step 100

    100

    #FDE2E8

    oklch(93.6% 0.031 2.6)

  3. Step 200

    200

    #FCCAD6

    oklch(88.6% 0.059 2.3)

  4. Step 300

    300

    #FBA3BB

    oklch(80.9% 0.108 2)

  5. Step 400

    400

    #F36C97

    oklch(70.6% 0.17 2.5)

  6. Step 500

    500

    #EA387E

    oklch(63.1% 0.217 2.4)

  7. Step 600

    600

    #D10068

    oklch(55.6% 0.224 2.4)

  8. Step 700

    700

    #B10057

    oklch(49.1% 0.198 2.4)

  9. Step 800

    800

    #920047

    oklch(42.6% 0.172 2.2)

  10. Step 900

    900

    #780C3B

    oklch(37.6% 0.142 2.3)

  11. Step 950

    950 (this color)

    #40051D

    oklch(24.6% 0.09 2.4)

Export this scale for Tailwind in the Tailwind colors tool

#40051D 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)#14161E0.101
Deuteranopia (no green cones)#24221C0.091
Tritanopia (no blue cones)#4600100.025
Achromatopsia (no color)#1E1E1E0.091

Harmonies

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

Complementary

The opposite hue (180°).

  • #40051D

    #40051D

    oklch(24.6% 0.09 2.4)

  • #002722

    #002722

    oklch(24.5% 0.044 182.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40051D

    #40051D

    oklch(24.6% 0.09 2.4)

  • #380A33

    #380A33

    oklch(24.7% 0.09 332.7)

  • #420701

    #420701

    oklch(24.6% 0.09 32.2)

Open the analogous palette in the generator

Split complementary

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

  • #40051D

    #40051D

    oklch(24.6% 0.09 2.4)

  • #002910

    #002910

    oklch(24.6% 0.065 152)

  • #00262D

    #00262D

    oklch(24.7% 0.043 212.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40051D

    #40051D

    oklch(24.6% 0.09 2.4)

  • #1C2500

    #1C2500

    oklch(24.7% 0.06 122.3)

  • #00233A

    #00233A

    oklch(24.6% 0.059 242.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40051D

    #40051D

    oklch(24.6% 0.09 2.4)

  • #292000

    #292000

    oklch(24.7% 0.051 93.6)

  • #002722

    #002722

    oklch(24.5% 0.044 182.3)

  • #141A4B

    #141A4B

    oklch(24.7% 0.09 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 #40051D, closest first.

Similar named colors

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

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