#400524

Closest named color: Dark Plum (#3F012C). oklch(24.9% 0.093 354.5), rgb(64, 5, 36).

Aa

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

About this color

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

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

Values

HEX#400524
RGBrgb(64, 5, 36)
HSLhsl(328, 86%, 14%)
OKLCHoklch(24.9% 0.093 354.5)

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 #400524 16.59:1 AAA Lc -105.3 Preferred for body text
Black text on #400524 1.26:1 Fails Lc 0.0 Not readable
#400524 text on white 16.59:1 AAA Lc 102.7 Preferred for body text
#400524 text on black 1.26: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

    #FEF2F6

    oklch(97.2% 0.014 355)

  2. Step 100

    100

    #FCE2EB

    oklch(93.6% 0.031 354.7)

  3. Step 200

    200

    #FBC9DB

    oklch(88.5% 0.061 354.9)

  4. Step 300

    300

    #F9A3C5

    oklch(81% 0.109 354.5)

  5. Step 400

    400

    #F16BA7

    oklch(70.7% 0.176 354.5)

  6. Step 500

    500

    #E83592

    oklch(63.1% 0.226 354.3)

  7. Step 600

    600

    #CE007B

    oklch(55.6% 0.229 354.6)

  8. Step 700

    700

    #AE0067

    oklch(49.1% 0.202 354.6)

  9. Step 800

    800

    #900055

    oklch(42.7% 0.176 354.3)

  10. Step 900

    900

    #770A46

    oklch(37.7% 0.147 354.6)

  11. Step 950

    950 (this color)

    #400524

    oklch(24.9% 0.093 354.5)

Export this scale for Tailwind in the Tailwind colors tool

#400524 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)#1117250.106
Deuteranopia (no green cones)#2222230.092
Tritanopia (no blue cones)#4600130.033
Achromatopsia (no color)#1E1E1E0.094

Harmonies

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

Complementary

The opposite hue (180°).

  • #400524

    #400524

    oklch(24.9% 0.093 354.5)

  • #002920

    #002920

    oklch(25.1% 0.048 174.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #400524

    #400524

    oklch(24.9% 0.093 354.5)

  • #360C39

    #360C39

    oklch(25% 0.092 325.1)

  • #440508

    #440508

    oklch(25% 0.093 24.9)

Open the analogous palette in the generator

Split complementary

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

  • #400524

    #400524

    oklch(24.9% 0.093 354.5)

  • #002A04

    #002A04

    oklch(24.8% 0.079 144.4)

  • #00272B

    #00272B

    oklch(24.9% 0.043 205.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #400524

    #400524

    oklch(24.9% 0.093 354.5)

  • #212400

    #212400

    oklch(24.9% 0.056 114.4)

  • #002537

    #002537

    oklch(25% 0.053 234.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #400524

    #400524

    oklch(24.9% 0.093 354.5)

  • #2D1F00

    #2D1F00

    oklch(25% 0.051 84.2)

  • #002920

    #002920

    oklch(25.1% 0.048 174.1)

  • #0A1D4D

    #0A1D4D

    oklch(25% 0.092 264.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #400524 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.