#402A32

Closest named color: Space Cadet (#2B2D42). oklch(31.4% 0.035 355.8), rgb(64, 42, 50).

Aa

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

About this color

#402A32 is a dark, muted red. In OKLCH its lightness is 31%, its chroma 0.035 and its hue 356°. Its hue sits on the warm side of the wheel. The nearest named color is Space Cadet (#2B2D42), ΔE 0.046 away. White text reads best on it, at 13.16:1.

Hue familyReds
Lightnessdark (31%)
Chromamuted (0.035)
Temperaturewarm
Nearest nameSpace Cadet (#2B2D42)
Black text1.59:1
White text13.16:1

Values

HEX#402A32
RGBrgb(64, 42, 50)
HSLhsl(338, 21%, 21%)
OKLCHoklch(31.4% 0.035 355.8)

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 #402A32 13.16:1 AAA Lc -102.7 Preferred for body text
Black text on #402A32 1.59:1 Fails Lc 0.0 Not readable
#402A32 text on white 13.16:1 AAA Lc 99.4 Preferred for body text
#402A32 text on black 1.59: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

    #F9F4F5

    oklch(97.1% 0.006 3.3)

  2. Step 100

    100

    #F1E7EA

    oklch(93.7% 0.012 357)

  3. Step 200

    200

    #E7D3D9

    oklch(88.5% 0.024 357.4)

  4. Step 300

    300

    #D8B6C1

    oklch(80.9% 0.042 356.6)

  5. Step 400

    400

    #C390A2

    oklch(70.8% 0.066 355.9)

  6. Step 500

    500

    #B3748B

    oklch(63.2% 0.084 356.3)

  7. Step 600

    600

    #9E5C75

    oklch(55.7% 0.092 356.3)

  8. Step 700

    700

    #874B62

    oklch(49.1% 0.086 356.3)

  9. Step 800

    800

    #6E3E50

    oklch(42.8% 0.071 356.6)

  10. Step 900

    900

    #593543

    oklch(37.7% 0.055 355.2)

  11. Step 950

    950 (this color)

    #402A32

    oklch(31.4% 0.035 355.8)

Export this scale for Tailwind in the Tailwind colors tool

#402A32 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)#2C2E320.039
Deuteranopia (no green cones)#3232310.036
Tritanopia (no blue cones)#43292D0.010
Achromatopsia (no color)#3030300.035

Harmonies

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

Complementary

The opposite hue (180°).

  • #402A32

    #402A32

    oklch(31.4% 0.035 355.8)

  • #1D3731

    #1D3731

    oklch(31.4% 0.034 177.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #402A32

    #402A32

    oklch(31.4% 0.035 355.8)

  • #3B2B3B

    #3B2B3B

    oklch(31.4% 0.036 326.4)

  • #422B28

    #422B28

    oklch(31.6% 0.035 27.5)

Open the analogous palette in the generator

Split complementary

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

  • #402A32

    #402A32

    oklch(31.4% 0.035 355.8)

  • #263627

    #263627

    oklch(31.4% 0.034 146.3)

  • #1A373A

    #1A373A

    oklch(31.6% 0.035 204.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #402A32

    #402A32

    oklch(31.4% 0.035 355.8)

  • #30341F

    #30341F

    oklch(31.5% 0.035 117.3)

  • #1F3441

    #1F3441

    oklch(31.3% 0.036 236.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #402A32

    #402A32

    oklch(31.4% 0.035 355.8)

  • #39301C

    #39301C

    oklch(31.3% 0.035 86.2)

  • #1D3731

    #1D3731

    oklch(31.4% 0.034 177.5)

  • #293144

    #293144

    oklch(31.4% 0.036 266.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #402A32 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.