#400427

Closest named color: Dark Plum (#3F012C). oklch(24.9% 0.096 350.9), rgb(64, 4, 39).

Aa

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

About this color

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

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

Values

HEX#400427
RGBrgb(64, 4, 39)
HSLhsl(325, 88%, 13%)
OKLCHoklch(24.9% 0.096 350.9)

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

    #FEF1F7

    oklch(97% 0.016 347.6)

  2. Step 100

    100

    #FCE1EC

    oklch(93.5% 0.033 351.2)

  3. Step 200

    200

    #FBC9DE

    oklch(88.5% 0.063 351.4)

  4. Step 300

    300

    #F9A2CA

    oklch(81% 0.114 350.8)

  5. Step 400

    400

    #F169AE

    oklch(70.7% 0.182 351.1)

  6. Step 500

    500

    #E8319B

    oklch(63.2% 0.233 350.9)

  7. Step 600

    600

    #CC0084

    oklch(55.6% 0.231 350.8)

  8. Step 700

    700

    #AD006F

    oklch(49.2% 0.205 350.9)

  9. Step 800

    800

    #8F005B

    oklch(42.8% 0.178 350.9)

  10. Step 900

    900

    #77064B

    oklch(37.8% 0.152 351.2)

  11. Step 950

    950 (this color)

    #400427

    oklch(24.9% 0.096 350.9)

Export this scale for Tailwind in the Tailwind colors tool

#400427 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)#0F17280.110
Deuteranopia (no green cones)#2122260.095
Tritanopia (no blue cones)#4600150.036
Achromatopsia (no color)#1E1E1E0.097

Harmonies

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

Complementary

The opposite hue (180°).

  • #400427

    #400427

    oklch(24.9% 0.096 350.9)

  • #00291E

    #00291E

    oklch(25% 0.049 170.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #400427

    #400427

    oklch(24.9% 0.096 350.9)

  • #350B3D

    #350B3D

    oklch(25% 0.097 320.7)

  • #45020B

    #45020B

    oklch(24.9% 0.097 21.1)

Open the analogous palette in the generator

Split complementary

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

  • #400427

    #400427

    oklch(24.9% 0.096 350.9)

  • #042A00

    #042A00

    oklch(24.9% 0.082 140.9)

  • #00272A

    #00272A

    oklch(24.8% 0.042 202.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #400427

    #400427

    oklch(24.9% 0.096 350.9)

  • #232400

    #232400

    oklch(25.1% 0.055 111.3)

  • #002535

    #002535

    oklch(24.8% 0.051 231.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #400427

    #400427

    oklch(24.9% 0.096 350.9)

  • #2E1E00

    #2E1E00

    oklch(24.9% 0.051 80.2)

  • #00291E

    #00291E

    oklch(25% 0.049 170.2)

  • #031D4E

    #031D4E

    oklch(24.8% 0.096 260.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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