#402B2F

Closest named color: Gunmetal (#293241). oklch(31.6% 0.032 6.5), rgb(64, 43, 47).

Aa

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

About this color

#402B2F is a dark, muted red. In OKLCH its lightness is 32%, its chroma 0.032 and its hue 6°. Its hue sits on the warm side of the wheel. The nearest named color is Gunmetal (#293241), ΔE 0.049 away. White text reads best on it, at 13.08:1.

Hue familyReds
Lightnessdark (32%)
Chromamuted (0.032)
Temperaturewarm
Nearest nameGunmetal (#293241)
Black text1.60:1
White text13.08:1

Values

HEX#402B2F
RGBrgb(64, 43, 47)
HSLhsl(349, 20%, 21%)
OKLCHoklch(31.6% 0.032 6.5)

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 #402B2F 13.08:1 AAA Lc -102.6 Preferred for body text
Black text on #402B2F 1.60:1 Fails Lc 0.0 Not readable
#402B2F text on white 13.08:1 AAA Lc 99.3 Preferred for body text
#402B2F text on black 1.60: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

    #F9F4F5

    oklch(97.1% 0.006 3.3)

  2. Step 100

    100

    #F1E7E8

    oklch(93.6% 0.011 10.3)

  3. Step 200

    200

    #E6D4D7

    oklch(88.5% 0.02 6)

  4. Step 300

    300

    #D7B7BD

    oklch(80.9% 0.038 5.2)

  5. Step 400

    400

    #C2919A

    oklch(70.6% 0.06 6.5)

  6. Step 500

    500

    #B27682

    oklch(63.1% 0.077 6.4)

  7. Step 600

    600

    #9D5E6B

    oklch(55.6% 0.084 6.8)

  8. Step 700

    700

    #864D59

    oklch(49% 0.078 6.8)

  9. Step 800

    800

    #6D4049

    oklch(42.8% 0.064 7.2)

  10. Step 900

    900

    #59363D

    oklch(37.7% 0.051 6.8)

  11. Step 950

    950 (this color)

    #402B2F

    oklch(31.6% 0.032 6.5)

Export this scale for Tailwind in the Tailwind colors tool

#402B2F 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)#2E2E2F0.034
Deuteranopia (no green cones)#33322F0.032
Tritanopia (no blue cones)#442A2C0.009
Achromatopsia (no color)#3131310.032

Harmonies

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

Complementary

The opposite hue (180°).

  • #402B2F

    #402B2F

    oklch(31.6% 0.032 6.5)

  • #1E3734

    #1E3734

    oklch(31.5% 0.032 186)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #402B2F

    #402B2F

    oklch(31.6% 0.032 6.5)

  • #3C2C38

    #3C2C38

    oklch(31.6% 0.031 335.4)

  • #402C26

    #402C26

    oklch(31.5% 0.032 37.4)

Open the analogous palette in the generator

Split complementary

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

  • #402B2F

    #402B2F

    oklch(31.6% 0.032 6.5)

  • #24372B

    #24372B

    oklch(31.6% 0.033 156.3)

  • #1E363C

    #1E363C

    oklch(31.6% 0.032 215.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #402B2F

    #402B2F

    oklch(31.6% 0.032 6.5)

  • #2D3523

    #2D3523

    oklch(31.6% 0.033 127.6)

  • #243341

    #243341

    oklch(31.4% 0.032 247.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #402B2F

    #402B2F

    oklch(31.6% 0.032 6.5)

  • #36321F

    #36321F

    oklch(31.6% 0.032 97.7)

  • #1E3734

    #1E3734

    oklch(31.5% 0.032 186)

  • #2D3042

    #2D3042

    oklch(31.4% 0.033 277)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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