#403231

Closest named color: Onyx (#343A40). oklch(33.2% 0.02 23), rgb(64, 50, 49).

Aa

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

About this color

#403231 is a dark close to neutral grey. In OKLCH its lightness is 33%, its chroma 0.020. It has too little chroma to lean warm or cool. The nearest named color is Onyx (#343A40), ΔE 0.034 away. White text reads best on it, at 12.21:1.

Hue familyNeutrals
Lightnessdark (33%)
Chromaclose to neutral grey (0.020)
Temperatureneutral
Nearest nameOnyx (#343A40)
Black text1.71:1
White text12.21:1

Values

HEX#403231
RGBrgb(64, 50, 49)
HSLhsl(4, 13%, 22%)
OKLCHoklch(33.2% 0.02 23)

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 #403231 12.21:1 AAA Lc -101.4 Preferred for body text
Black text on #403231 1.71:1 Fails Lc 0.0 Not readable
#403231 text on white 12.21:1 AAA Lc 97.9 Preferred for body text
#403231 text on black 1.71: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 900.

  1. Step 50

    50

    #F7F5F5

    oklch(97.2% 0.002 17.2)

  2. Step 100

    100

    #EDE9E8

    oklch(93.7% 0.005 34.3)

  3. Step 200

    200

    #DFD7D6

    oklch(88.5% 0.009 26)

  4. Step 300

    300

    #CABDBC

    oklch(80.9% 0.015 22.8)

  5. Step 400

    400

    #B09B99

    oklch(70.7% 0.025 24.3)

  6. Step 500

    500

    #9C8281

    oklch(63% 0.032 20.6)

  7. Step 600

    600

    #866C6A

    oklch(55.6% 0.033 23.3)

  8. Step 700

    700

    #725A58

    oklch(49.1% 0.032 23.8)

  9. Step 800

    800

    #5D4A48

    oklch(42.8% 0.026 25.2)

  10. Step 900

    900 (this color)

    #403231

    oklch(33.2% 0.02 23)

  11. Step 950

    950

    #2D2423

    oklch(27% 0.014 25.5)

Export this scale for Tailwind in the Tailwind colors tool

#403231 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)#3534310.020
Deuteranopia (no green cones)#3836310.019
Tritanopia (no blue cones)#4331320.007
Achromatopsia (no color)#3535350.021

Harmonies

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

Complementary

The opposite hue (180°).

  • #403231

    #403231

    oklch(33.2% 0.02 23)

  • #2A393B

    #2A393B

    oklch(33.2% 0.02 206.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #403231

    #403231

    oklch(33.2% 0.02 23)

  • #3F3237

    #3F3237

    oklch(33.3% 0.02 353.2)

  • #3F332C

    #3F332C

    oklch(33.2% 0.021 52)

Open the analogous palette in the generator

Split complementary

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

  • #403231

    #403231

    oklch(33.2% 0.02 23)

  • #2B3A35

    #2B3A35

    oklch(33.3% 0.022 172.5)

  • #2C383F

    #2C383F

    oklch(33.3% 0.02 233.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #403231

    #403231

    oklch(33.2% 0.02 23)

  • #30392F

    #30392F

    oklch(33.3% 0.021 142.4)

  • #303641

    #303641

    oklch(33.2% 0.021 262.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #403231

    #403231

    oklch(33.2% 0.02 23)

  • #36372B

    #36372B

    oklch(33.2% 0.02 111.4)

  • #2A393B

    #2A393B

    oklch(33.2% 0.02 206.4)

  • #363440

    #363440

    oklch(33.2% 0.021 292.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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