#402C33

Closest named color: Gunmetal (#293241). oklch(31.9% 0.032 356.3), rgb(64, 44, 51).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (32%)
Chromamuted (0.032)
Temperaturewarm
Nearest nameGunmetal (#293241)
Black text1.62:1
White text12.91:1

Values

HEX#402C33
RGBrgb(64, 44, 51)
HSLhsl(339, 19%, 21%)
OKLCHoklch(31.9% 0.032 356.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 #402C33 12.91:1 AAA Lc -102.4 Preferred for body text
Black text on #402C33 1.62:1 Fails Lc 0.0 Not readable
#402C33 text on white 12.91:1 AAA Lc 99.1 Preferred for body text
#402C33 text on black 1.62: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

    #F8F4F5

    oklch(97.1% 0.004 360)

  2. Step 100

    100

    #F0E7EA

    oklch(93.6% 0.011 354.9)

  3. Step 200

    200

    #E5D4D9

    oklch(88.5% 0.02 357.7)

  4. Step 300

    300

    #D6B7C1

    oklch(80.9% 0.038 356.6)

  5. Step 400

    400

    #C092A1

    oklch(70.8% 0.059 357.3)

  6. Step 500

    500

    #AF768B

    oklch(63.1% 0.076 355.7)

  7. Step 600

    600

    #9A5E75

    oklch(55.5% 0.084 355.6)

  8. Step 700

    700

    #834E62

    oklch(49.1% 0.076 356.1)

  9. Step 800

    800

    #6B4050

    oklch(42.8% 0.064 356.3)

  10. Step 900

    900

    #573642

    oklch(37.6% 0.05 356.4)

  11. Step 950

    950 (this color)

    #402C33

    oklch(31.9% 0.032 356.3)

Export this scale for Tailwind in the Tailwind colors tool

#402C33 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)#2E2F330.034
Deuteranopia (no green cones)#3333330.032
Tritanopia (no blue cones)#432B2E0.010
Achromatopsia (no color)#3232320.032

Harmonies

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

Complementary

The opposite hue (180°).

  • #402C33

    #402C33

    oklch(31.9% 0.032 356.3)

  • #213832

    #213832

    oklch(31.9% 0.031 175.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #402C33

    #402C33

    oklch(31.9% 0.032 356.3)

  • #3B2D3B

    #3B2D3B

    oklch(31.9% 0.031 326.3)

  • #412D2A

    #412D2A

    oklch(32% 0.03 28.5)

Open the analogous palette in the generator

Split complementary

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

  • #402C33

    #402C33

    oklch(31.9% 0.032 356.3)

  • #283729

    #283729

    oklch(31.9% 0.032 146.5)

  • #1E373B

    #1E373B

    oklch(31.8% 0.032 208.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #402C33

    #402C33

    oklch(31.9% 0.032 356.3)

  • #323522

    #323522

    oklch(32% 0.032 115.5)

  • #233541

    #233541

    oklch(31.9% 0.032 238.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #402C33

    #402C33

    oklch(31.9% 0.032 356.3)

  • #3A3220

    #3A3220

    oklch(32% 0.032 86.6)

  • #213832

    #213832

    oklch(31.9% 0.031 175.9)

  • #2B3243

    #2B3243

    oklch(31.8% 0.032 267.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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