#403234

Closest named color: Onyx (#343A40). oklch(33.3% 0.02 8.6), rgb(64, 50, 52).

Aa

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

About this color

#403234 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.032 away. White text reads best on it, at 12.18:1.

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

Values

HEX#403234
RGBrgb(64, 50, 52)
HSLhsl(351, 12%, 22%)
OKLCHoklch(33.3% 0.02 8.6)

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 #403234 12.18:1 AAA Lc -101.3 Preferred for body text
Black text on #403234 1.72:1 Fails Lc 0.0 Not readable
#403234 text on white 12.18:1 AAA Lc 97.8 Preferred for body text
#403234 text on black 1.72: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

    #EDE9E9

    oklch(93.7% 0.004 17.2)

  3. Step 200

    200

    #DFD7D8

    oklch(88.6% 0.009 8.6)

  4. Step 300

    300

    #CABDBE

    oklch(80.9% 0.015 12.1)

  5. Step 400

    400

    #AF9B9D

    oklch(70.8% 0.024 10.8)

  6. Step 500

    500

    #9B8285

    oklch(63.1% 0.031 9.8)

  7. Step 600

    600

    #866B6F

    oklch(55.5% 0.035 8.3)

  8. Step 700

    700

    #715A5D

    oklch(49.2% 0.03 9.4)

  9. Step 800

    800

    #5C494C

    oklch(42.6% 0.026 7.6)

  10. Step 900

    900 (this color)

    #403234

    oklch(33.3% 0.02 8.6)

  11. Step 950

    950

    #2C2425

    oklch(27% 0.012 9.4)

Export this scale for Tailwind in the Tailwind colors tool

#403234 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)#3434340.022
Deuteranopia (no green cones)#3736340.020
Tritanopia (no blue cones)#4331330.006
Achromatopsia (no color)#3535350.021

Harmonies

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

Complementary

The opposite hue (180°).

  • #403234

    #403234

    oklch(33.3% 0.02 8.6)

  • #2A3A38

    #2A3A38

    oklch(33.4% 0.021 186.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #403234

    #403234

    oklch(33.3% 0.02 8.6)

  • #3E323A

    #3E323A

    oklch(33.3% 0.022 338.5)

  • #40332F

    #40332F

    oklch(33.4% 0.02 37.8)

Open the analogous palette in the generator

Split complementary

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

  • #403234

    #403234

    oklch(33.3% 0.02 8.6)

  • #2E3A32

    #2E3A32

    oklch(33.5% 0.021 155.9)

  • #2B393D

    #2B393D

    oklch(33.4% 0.02 217.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #403234

    #403234

    oklch(33.3% 0.02 8.6)

  • #33382D

    #33382D

    oklch(33.2% 0.02 127.4)

  • #2E3741

    #2E3741

    oklch(33.3% 0.022 251.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #403234

    #403234

    oklch(33.3% 0.02 8.6)

  • #39372A

    #39372A

    oklch(33.5% 0.022 100.2)

  • #2A3A38

    #2A3A38

    oklch(33.4% 0.021 186.7)

  • #343541

    #343541

    oklch(33.3% 0.021 281.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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