#402133

Closest named color: Space Cadet (#2B2D42). oklch(29.6% 0.055 345.1), rgb(64, 33, 51).

Aa

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

About this color

#402133 is a dark, muted red. In OKLCH its lightness is 30%, its chroma 0.055 and its hue 345°. Its hue sits on the warm side of the wheel. The nearest named color is Space Cadet (#2B2D42), ΔE 0.053 away. White text reads best on it, at 14.15:1.

Hue familyReds
Lightnessdark (30%)
Chromamuted (0.055)
Temperaturewarm
Nearest nameSpace Cadet (#2B2D42)
Black text1.48:1
White text14.15:1

Values

HEX#402133
RGBrgb(64, 33, 51)
HSLhsl(325, 32%, 19%)
OKLCHoklch(29.6% 0.055 345.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 #402133 14.15:1 AAA Lc -103.7 Preferred for body text
Black text on #402133 1.48:1 Fails Lc 0.0 Not readable
#402133 text on white 14.15:1 AAA Lc 100.7 Preferred for body text
#402133 text on black 1.48: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

    #FAF3F7

    oklch(97.1% 0.009 341.8)

  2. Step 100

    100

    #F4E5ED

    oklch(93.6% 0.019 344)

  3. Step 200

    200

    #ECD0DE

    oklch(88.5% 0.036 346.2)

  4. Step 300

    300

    #E0B0CA

    oklch(80.8% 0.065 344.9)

  5. Step 400

    400

    #CF86AF

    oklch(70.7% 0.103 345.3)

  6. Step 500

    500

    #C1669B

    oklch(63.2% 0.132 345.6)

  7. Step 600

    600

    #AC4B86

    oklch(55.6% 0.144 345.3)

  8. Step 700

    700

    #933C72

    oklch(49.1% 0.133 344.9)

  9. Step 800

    800

    #78325D

    oklch(42.8% 0.111 345)

  10. Step 900

    900

    #612D4C

    oklch(37.8% 0.086 345.2)

  11. Step 950

    950 (this color)

    #402133

    oklch(29.6% 0.055 345.1)

Export this scale for Tailwind in the Tailwind colors tool

#402133 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)#2328340.058
Deuteranopia (no green cones)#2B2D320.053
Tritanopia (no blue cones)#4421280.022
Achromatopsia (no color)#2B2B2B0.055

Harmonies

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

Complementary

The opposite hue (180°).

  • #402133

    #402133

    oklch(29.6% 0.055 345.1)

  • #0A3526

    #0A3526

    oklch(29.5% 0.054 165.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #402133

    #402133

    oklch(29.6% 0.055 345.1)

  • #372440

    #372440

    oklch(29.6% 0.055 314.4)

  • #442124

    #442124

    oklch(29.7% 0.054 15.4)

Open the analogous palette in the generator

Split complementary

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

  • #402133

    #402133

    oklch(29.6% 0.055 345.1)

  • #203316

    #203316

    oklch(29.6% 0.055 135.7)

  • #003535

    #003535

    oklch(29.8% 0.051 194.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #402133

    #402133

    oklch(29.6% 0.055 345.1)

  • #312E08

    #312E08

    oklch(29.6% 0.055 104.8)

  • #023241

    #023241

    oklch(29.5% 0.054 225)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #402133

    #402133

    oklch(29.6% 0.055 345.1)

  • #3D2808

    #3D2808

    oklch(29.6% 0.055 73.6)

  • #0A3526

    #0A3526

    oklch(29.5% 0.054 165.5)

  • #192E48

    #192E48

    oklch(29.7% 0.055 254.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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