#402934

Closest named color: Space Cadet (#2B2D42). oklch(31.3% 0.038 349.3), rgb(64, 41, 52).

Aa

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

About this color

#402934 is a dark, muted red. In OKLCH its lightness is 31%, its chroma 0.038 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.25:1.

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

Values

HEX#402934
RGBrgb(64, 41, 52)
HSLhsl(331, 22%, 21%)
OKLCHoklch(31.3% 0.038 349.3)

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

    #F9F4F6

    oklch(97.2% 0.006 350.8)

  2. Step 100

    100

    #F1E6EB

    oklch(93.5% 0.014 348)

  3. Step 200

    200

    #E7D3DC

    oklch(88.6% 0.025 348.6)

  4. Step 300

    300

    #D8B5C5

    oklch(80.8% 0.045 348.9)

  5. Step 400

    400

    #C48EA7

    oklch(70.6% 0.073 349.7)

  6. Step 500

    500

    #B47292

    oklch(63.2% 0.093 349.6)

  7. Step 600

    600

    #9F597C

    oklch(55.6% 0.102 349.6)

  8. Step 700

    700

    #884969

    oklch(49.2% 0.094 349.4)

  9. Step 800

    800

    #6E3C55

    oklch(42.6% 0.078 349.6)

  10. Step 900

    900

    #5A3446

    oklch(37.8% 0.06 350.5)

  11. Step 950

    950 (this color)

    #402934

    oklch(31.3% 0.038 349.3)

Export this scale for Tailwind in the Tailwind colors tool

#402934 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)#2B2D340.040
Deuteranopia (no green cones)#3031330.038
Tritanopia (no blue cones)#43282D0.013
Achromatopsia (no color)#3030300.039

Harmonies

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

Complementary

The opposite hue (180°).

  • #402934

    #402934

    oklch(31.3% 0.038 349.3)

  • #1C372E

    #1C372E

    oklch(31.2% 0.037 170.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #402934

    #402934

    oklch(31.3% 0.038 349.3)

  • #3A2B3D

    #3A2B3D

    oklch(31.4% 0.038 320.7)

  • #432929

    #432929

    oklch(31.3% 0.039 19.5)

Open the analogous palette in the generator

Split complementary

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

  • #402934

    #402934

    oklch(31.3% 0.038 349.3)

  • #273623

    #273623

    oklch(31.3% 0.039 139.2)

  • #163739

    #163739

    oklch(31.3% 0.039 200.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #402934

    #402934

    oklch(31.3% 0.038 349.3)

  • #32331B

    #32331B

    oklch(31.3% 0.039 110.5)

  • #1B3541

    #1B3541

    oklch(31.4% 0.039 229.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #402934

    #402934

    oklch(31.3% 0.038 349.3)

  • #3C2F1A

    #3C2F1A

    oklch(31.4% 0.039 78.6)

  • #1C372E

    #1C372E

    oklch(31.2% 0.037 170.3)

  • #253145

    #253145

    oklch(31.2% 0.04 260.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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