#402B35

Closest named color: Space Cadet (#2B2D42). oklch(31.8% 0.035 349.2), rgb(64, 43, 53).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (32%)
Chromamuted (0.035)
Temperaturewarm
Nearest nameSpace Cadet (#2B2D42)
Black text1.61:1
White text13.00:1

Values

HEX#402B35
RGBrgb(64, 43, 53)
HSLhsl(331, 20%, 21%)
OKLCHoklch(31.8% 0.035 349.2)

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 #402B35 13.00:1 AAA Lc -102.5 Preferred for body text
Black text on #402B35 1.61:1 Fails Lc 0.0 Not readable
#402B35 text on white 13.00:1 AAA Lc 99.2 Preferred for body text
#402B35 text on black 1.61: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

    #F8F4F6

    oklch(97.1% 0.005 345.3)

  2. Step 100

    100

    #F0E7EB

    oklch(93.6% 0.011 348.4)

  3. Step 200

    200

    #E6D3DB

    oklch(88.5% 0.024 350.2)

  4. Step 300

    300

    #D6B6C5

    oklch(80.8% 0.042 348.1)

  5. Step 400

    400

    #C190A7

    oklch(70.7% 0.066 349.1)

  6. Step 500

    500

    #B07491

    oklch(63% 0.084 349.3)

  7. Step 600

    600

    #9B5C7C

    oklch(55.6% 0.092 348.7)

  8. Step 700

    700

    #844C68

    oklch(49.1% 0.084 349.3)

  9. Step 800

    800

    #6C3E55

    oklch(42.7% 0.072 349.2)

  10. Step 900

    900

    #583546

    oklch(37.7% 0.056 349.5)

  11. Step 950

    950 (this color)

    #402B35

    oklch(31.8% 0.035 349.2)

Export this scale for Tailwind in the Tailwind colors tool

#402B35 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)#2D2F350.036
Deuteranopia (no green cones)#3232340.033
Tritanopia (no blue cones)#432B2E0.014
Achromatopsia (no color)#3131310.035

Harmonies

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

Complementary

The opposite hue (180°).

  • #402B35

    #402B35

    oklch(31.8% 0.035 349.2)

  • #1F382F

    #1F382F

    oklch(31.7% 0.035 169.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #402B35

    #402B35

    oklch(31.8% 0.035 349.2)

  • #3A2D3E

    #3A2D3E

    oklch(31.9% 0.034 318.1)

  • #422B2B

    #422B2B

    oklch(31.7% 0.034 19.2)

Open the analogous palette in the generator

Split complementary

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

  • #402B35

    #402B35

    oklch(31.8% 0.035 349.2)

  • #293726

    #293726

    oklch(31.9% 0.035 140.1)

  • #1B3839

    #1B3839

    oklch(31.9% 0.035 198.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #402B35

    #402B35

    oklch(31.8% 0.035 349.2)

  • #33341F

    #33341F

    oklch(31.8% 0.035 110.5)

  • #1F3641

    #1F3641

    oklch(31.9% 0.035 229.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #402B35

    #402B35

    oklch(31.8% 0.035 349.2)

  • #3C301D

    #3C301D

    oklch(31.7% 0.035 78.4)

  • #1F382F

    #1F382F

    oklch(31.7% 0.035 169.1)

  • #283344

    #283344

    oklch(31.9% 0.034 259)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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