#402A2D

Closest named color: Space Cadet (#2B2D42). oklch(31.3% 0.033 10.2), rgb(64, 42, 45).

Aa

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

About this color

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

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

Values

HEX#402A2D
RGBrgb(64, 42, 45)
HSLhsl(352, 21%, 21%)
OKLCHoklch(31.3% 0.033 10.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 #402A2D 13.23:1 AAA Lc -102.7 Preferred for body text
Black text on #402A2D 1.58:1 Fails Lc 0.0 Not readable
#402A2D text on white 13.23:1 AAA Lc 99.5 Preferred for body text
#402A2D 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

    #E7D4D6

    oklch(88.6% 0.021 10.3)

  4. Step 300

    300

    #D9B7BB

    oklch(81% 0.039 10)

  5. Step 400

    400

    #C49197

    oklch(70.7% 0.062 10.9)

  6. Step 500

    500

    #B4757E

    oklch(63.1% 0.08 10.3)

  7. Step 600

    600

    #9F5D67

    oklch(55.6% 0.087 10.5)

  8. Step 700

    700

    #884C56

    oklch(49% 0.082 9.8)

  9. Step 800

    800

    #6F3F46

    oklch(42.8% 0.067 10.9)

  10. Step 900

    900

    #5A363B

    oklch(37.8% 0.052 10.8)

  11. Step 950

    950 (this color)

    #402A2D

    oklch(31.3% 0.033 10.2)

Export this scale for Tailwind in the Tailwind colors tool

#402A2D 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)#2E2D2D0.035
Deuteranopia (no green cones)#33312D0.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°).

  • #402A2D

    #402A2D

    oklch(31.3% 0.033 10.2)

  • #1C3635

    #1C3635

    oklch(31.2% 0.032 192.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #402A2D

    #402A2D

    oklch(31.3% 0.033 10.2)

  • #3D2A36

    #3D2A36

    oklch(31.2% 0.034 341)

  • #402B24

    #402B24

    oklch(31.2% 0.034 39.2)

Open the analogous palette in the generator

Split complementary

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

  • #402A2D

    #402A2D

    oklch(31.3% 0.033 10.2)

  • #22362B

    #22362B

    oklch(31.2% 0.033 159.7)

  • #1D353D

    #1D353D

    oklch(31.3% 0.033 221.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #402A2D

    #402A2D

    oklch(31.3% 0.033 10.2)

  • #2B3423

    #2B3423

    oklch(31.1% 0.032 130.7)

  • #243241

    #243241

    oklch(31.1% 0.033 250.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #402A2D

    #402A2D

    oklch(31.3% 0.033 10.2)

  • #35311E

    #35311E

    oklch(31.2% 0.032 97.7)

  • #1C3635

    #1C3635

    oklch(31.2% 0.032 192.5)

  • #2D2F42

    #2D2F42

    oklch(31.2% 0.034 279.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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