#402A2C

Closest named color: Space Cadet (#2B2D42). oklch(31.2% 0.033 13.1), rgb(64, 42, 44).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (31%)
Chromamuted (0.033)
Temperaturewarm
Nearest nameSpace Cadet (#2B2D42)
Black text1.58:1
White text13.24:1

Values

HEX#402A2C
RGBrgb(64, 42, 44)
HSLhsl(355, 21%, 21%)
OKLCHoklch(31.2% 0.033 13.1)

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 #402A2C 13.24:1 AAA Lc -102.8 Preferred for body text
Black text on #402A2C 1.58:1 Fails Lc 0.0 Not readable
#402A2C text on white 13.24:1 AAA Lc 99.5 Preferred for body text
#402A2C text on black 1.58: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

    #F9F4F4

    oklch(97.1% 0.005 17.2)

  2. Step 100

    100

    #F1E7E8

    oklch(93.6% 0.011 10.3)

  3. Step 200

    200

    #E7D4D5

    oklch(88.6% 0.021 13.9)

  4. Step 300

    300

    #D9B7B9

    oklch(81% 0.039 14)

  5. Step 400

    400

    #C49195

    oklch(70.7% 0.062 13.5)

  6. Step 500

    500

    #B4757B

    oklch(63% 0.08 13.4)

  7. Step 600

    600

    #9F5D65

    oklch(55.5% 0.087 12.5)

  8. Step 700

    700

    #884D53

    oklch(49.1% 0.08 13.9)

  9. Step 800

    800

    #6F3F44

    oklch(42.7% 0.067 13.6)

  10. Step 900

    900

    #5A363A

    oklch(37.8% 0.052 12.6)

  11. Step 950

    950 (this color)

    #402A2C

    oklch(31.2% 0.033 13.1)

Export this scale for Tailwind in the Tailwind colors tool

#402A2C 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)#2E2D2C0.035
Deuteranopia (no green cones)#33312C0.032
Tritanopia (no blue cones)#44282B0.009
Achromatopsia (no color)#3030300.033

Harmonies

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

Complementary

The opposite hue (180°).

  • #402A2C

    #402A2C

    oklch(31.2% 0.033 13.1)

  • #1B3635

    #1B3635

    oklch(31.1% 0.033 192.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #402A2C

    #402A2C

    oklch(31.2% 0.033 13.1)

  • #3D2A35

    #3D2A35

    oklch(31.2% 0.033 343.6)

  • #3F2B23

    #3F2B23

    oklch(31% 0.033 42.7)

Open the analogous palette in the generator

Split complementary

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

  • #402A2C

    #402A2C

    oklch(31.2% 0.033 13.1)

  • #21362C

    #21362C

    oklch(31.2% 0.032 163.2)

  • #1D353D

    #1D353D

    oklch(31.3% 0.033 221.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #402A2C

    #402A2C

    oklch(31.2% 0.033 13.1)

  • #2A3523

    #2A3523

    oklch(31.3% 0.034 133.6)

  • #253241

    #253241

    oklch(31.2% 0.032 252.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #402A2C

    #402A2C

    oklch(31.2% 0.033 13.1)

  • #34321E

    #34321E

    oklch(31.3% 0.033 103.2)

  • #1B3635

    #1B3635

    oklch(31.1% 0.033 192.5)

  • #2E2F41

    #2E2F41

    oklch(31.2% 0.032 281.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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