#40081D

Closest named color: Dark Plum (#3F012C). oklch(24.9% 0.086 3.6), rgb(64, 8, 29).

Aa

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

About this color

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

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

Values

HEX#40081D
RGBrgb(64, 8, 29)
HSLhsl(338, 78%, 14%)
OKLCHoklch(24.9% 0.086 3.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 #40081D 16.52:1 AAA Lc -105.4 Preferred for body text
Black text on #40081D 1.27:1 Fails Lc 0.0 Not readable
#40081D text on white 16.52:1 AAA Lc 102.8 Preferred for body text
#40081D text on black 1.27: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

    #FCE2E8

    oklch(93.6% 0.03 2)

  3. Step 200

    200

    #FBCAD5

    oklch(88.5% 0.057 3.3)

  4. Step 300

    300

    #F9A5B9

    oklch(81% 0.102 4.1)

  5. Step 400

    400

    #F16F96

    oklch(70.7% 0.164 3.3)

  6. Step 500

    500

    #E73F7C

    oklch(63.1% 0.208 3.5)

  7. Step 600

    600

    #D20065

    oklch(55.6% 0.224 3.7)

  8. Step 700

    700

    #B20055

    oklch(49.2% 0.198 3.5)

  9. Step 800

    800

    #930045

    oklch(42.7% 0.172 3.5)

  10. Step 900

    900

    #77123A

    oklch(37.8% 0.136 3.5)

  11. Step 950

    950 (this color)

    #40081D

    oklch(24.9% 0.086 3.6)

Export this scale for Tailwind in the Tailwind colors tool

#40081D 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)#16181D0.096
Deuteranopia (no green cones)#25231C0.087
Tritanopia (no blue cones)#4600110.024
Achromatopsia (no color)#1F1F1F0.087

Harmonies

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

Complementary

The opposite hue (180°).

  • #40081D

    #40081D

    oklch(24.9% 0.086 3.6)

  • #002824

    #002824

    oklch(24.9% 0.044 184.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40081D

    #40081D

    oklch(24.9% 0.086 3.6)

  • #380D32

    #380D32

    oklch(25% 0.085 333.8)

  • #420A02

    #420A02

    oklch(25% 0.087 33)

Open the analogous palette in the generator

Split complementary

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

  • #40081D

    #40081D

    oklch(24.9% 0.086 3.6)

  • #002A12

    #002A12

    oklch(25% 0.064 153.2)

  • #00272E

    #00272E

    oklch(25% 0.044 212.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40081D

    #40081D

    oklch(24.9% 0.086 3.6)

  • #1C2600

    #1C2600

    oklch(25% 0.061 123.2)

  • #00243C

    #00243C

    oklch(25% 0.06 243)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40081D

    #40081D

    oklch(24.9% 0.086 3.6)

  • #2A2100

    #2A2100

    oklch(25.1% 0.051 93.9)

  • #002824

    #002824

    oklch(24.9% 0.044 184.8)

  • #161B4A

    #161B4A

    oklch(25% 0.087 273.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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