#402129

Closest named color: Chocolate Brown (#411900). oklch(29.2% 0.049 4), rgb(64, 33, 41).

Aa

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

About this color

#402129 is a dark, muted red. In OKLCH its lightness is 29%, its chroma 0.049 and its hue 4°. Its hue sits on the warm side of the wheel. The nearest named color is Chocolate Brown (#411900), ΔE 0.056 away. White text reads best on it, at 14.30:1.

Hue familyReds
Lightnessdark (29%)
Chromamuted (0.049)
Temperaturewarm
Nearest nameChocolate Brown (#411900)
Black text1.46:1
White text14.30:1

Values

HEX#402129
RGBrgb(64, 33, 41)
HSLhsl(345, 32%, 19%)
OKLCHoklch(29.2% 0.049 4)

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 #402129 14.30:1 AAA Lc -103.9 Preferred for body text
Black text on #402129 1.46:1 Fails Lc 0.0 Not readable
#402129 text on white 14.30:1 AAA Lc 100.9 Preferred for body text
#402129 text on black 1.46: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

    #FAF3F5

    oklch(97% 0.008 357.8)

  2. Step 100

    100

    #F4E5E8

    oklch(93.5% 0.017 3.7)

  3. Step 200

    200

    #EDD1D7

    oklch(88.6% 0.032 3.2)

  4. Step 300

    300

    #E2B2BC

    oklch(81% 0.057 4.5)

  5. Step 400

    400

    #D2889A

    oklch(70.7% 0.093 3.9)

  6. Step 500

    500

    #C46981

    oklch(63.2% 0.118 4.2)

  7. Step 600

    600

    #AF4F6B

    oklch(55.7% 0.128 3.8)

  8. Step 700

    700

    #963F59

    oklch(49.1% 0.12 3.8)

  9. Step 800

    800

    #7A3549

    oklch(42.8% 0.098 3.9)

  10. Step 900

    900

    #632E3D

    oklch(37.7% 0.078 3.6)

  11. Step 950

    950 (this color)

    #402129

    oklch(29.2% 0.049 4)

Export this scale for Tailwind in the Tailwind colors tool

#402129 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)#2627290.053
Deuteranopia (no green cones)#2E2C280.048
Tritanopia (no blue cones)#451F240.013
Achromatopsia (no color)#2A2A2A0.049

Harmonies

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

Complementary

The opposite hue (180°).

  • #402129

    #402129

    oklch(29.2% 0.049 4)

  • #04342F

    #04342F

    oklch(29.3% 0.049 184.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #402129

    #402129

    oklch(29.2% 0.049 4)

  • #3B2236

    #3B2236

    oklch(29.2% 0.05 334.4)

  • #41221B

    #41221B

    oklch(29.2% 0.05 33.6)

Open the analogous palette in the generator

Split complementary

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

  • #402129

    #402129

    oklch(29.2% 0.049 4)

  • #163320

    #163320

    oklch(29.2% 0.05 153.4)

  • #04323B

    #04323B

    oklch(29.3% 0.049 214.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #402129

    #402129

    oklch(29.2% 0.049 4)

  • #273013

    #273013

    oklch(29.3% 0.049 123.6)

  • #142E42

    #142E42

    oklch(29.1% 0.049 243.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #402129

    #402129

    oklch(29.2% 0.049 4)

  • #342B0B

    #342B0B

    oklch(29.2% 0.049 93.3)

  • #04342F

    #04342F

    oklch(29.3% 0.049 184.3)

  • #242A44

    #242A44

    oklch(29.2% 0.048 273.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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