#403128

Closest named color: Onyx (#343A40). oklch(32.7% 0.027 52.5), rgb(64, 49, 40).

Aa

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

About this color

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

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

Values

HEX#403128
RGBrgb(64, 49, 40)
HSLhsl(23, 23%, 20%)
OKLCHoklch(32.7% 0.027 52.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 #403128 12.44:1 AAA Lc -101.7 Preferred for body text
Black text on #403128 1.68:1 Fails Lc 0.0 Not readable
#403128 text on white 12.44:1 AAA Lc 98.3 Preferred for body text
#403128 text on black 1.68: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

    #F7F5F4

    oklch(97.1% 0.003 48.7)

  2. Step 100

    100

    #EDE9E6

    oklch(93.6% 0.006 59.6)

  3. Step 200

    200

    #DFD7D2

    oklch(88.4% 0.011 54.5)

  4. Step 300

    300

    #CCBDB5

    oklch(80.9% 0.02 50.1)

  5. Step 400

    400

    #B29C8F

    oklch(70.9% 0.032 52.5)

  6. Step 500

    500

    #9E8373

    oklch(63.1% 0.041 52.4)

  7. Step 600

    600

    #896C5B

    oklch(55.5% 0.045 51.9)

  8. Step 700

    700

    #745A4B

    oklch(49% 0.041 51.4)

  9. Step 800

    800

    #5F4A3E

    oklch(42.8% 0.035 51.2)

  10. Step 900

    900 (this color)

    #403128

    oklch(32.7% 0.027 52.5)

  11. Step 950

    950

    #2D241F

    oklch(26.9% 0.016 50.7)

Export this scale for Tailwind in the Tailwind colors tool

#403128 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)#3532270.021
Deuteranopia (no green cones)#3935280.018
Tritanopia (no blue cones)#442E2F0.019
Achromatopsia (no color)#3434340.027

Harmonies

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

Complementary

The opposite hue (180°).

  • #403128

    #403128

    oklch(32.7% 0.027 52.5)

  • #273740

    #273740

    oklch(32.7% 0.026 233.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #403128

    #403128

    oklch(32.7% 0.027 52.5)

  • #422F2E

    #422F2E

    oklch(32.7% 0.028 22.2)

  • #3B3425

    #3B3425

    oklch(32.8% 0.027 85.8)

Open the analogous palette in the generator

Split complementary

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

  • #403128

    #403128

    oklch(32.7% 0.027 52.5)

  • #24393B

    #24393B

    oklch(32.8% 0.027 203.5)

  • #2D3543

    #2D3543

    oklch(32.8% 0.027 261.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #403128

    #403128

    oklch(32.7% 0.027 52.5)

  • #263933

    #263933

    oklch(32.6% 0.027 173)

  • #353241

    #353241

    oklch(32.6% 0.027 294)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #403128

    #403128

    oklch(32.7% 0.027 52.5)

  • #2D382C

    #2D382C

    oklch(32.7% 0.026 142.8)

  • #273740

    #273740

    oklch(32.7% 0.026 233.3)

  • #3B303D

    #3B303D

    oklch(32.6% 0.027 321.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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