#403333

Closest named color: Onyx (#343A40). oklch(33.5% 0.019 18.1), rgb(64, 51, 51).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (34%)
Chromaclose to neutral grey (0.019)
Temperatureneutral
Nearest nameOnyx (#343A40)
Black text1.73:1
White text12.07:1

Values

HEX#403333
RGBrgb(64, 51, 51)
HSLhsl(0, 11%, 23%)
OKLCHoklch(33.5% 0.019 18.1)

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 #403333 12.07:1 AAA Lc -101.1 Preferred for body text
Black text on #403333 1.73:1 Fails Lc 0.0 Not readable
#403333 text on white 12.07:1 AAA Lc 97.6 Preferred for body text
#403333 text on black 1.73: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

    #ECE9E9

    oklch(93.6% 0.003 17.2)

  3. Step 200

    200

    #DED7D7

    oklch(88.5% 0.008 17.3)

  4. Step 300

    300

    #CABDBD

    oklch(80.9% 0.015 17.5)

  5. Step 400

    400

    #AE9B9B

    oklch(70.6% 0.022 17.7)

  6. Step 500

    500

    #9A8383

    oklch(63.1% 0.028 17.9)

  7. Step 600

    600

    #856C6C

    oklch(55.5% 0.032 18.2)

  8. Step 700

    700

    #705A5A

    oklch(49% 0.029 18.2)

  9. Step 800

    800

    #5C4A4A

    oklch(42.8% 0.024 18.2)

  10. Step 900

    900 (this color)

    #403333

    oklch(33.5% 0.019 18.1)

  11. Step 950

    950

    #2C2424

    oklch(26.9% 0.012 17.9)

Export this scale for Tailwind in the Tailwind colors tool

#403333 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)#3535330.020
Deuteranopia (no green cones)#3837330.019
Tritanopia (no blue cones)#4332330.006
Achromatopsia (no color)#3636360.019

Harmonies

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

Complementary

The opposite hue (180°).

  • #403333

    #403333

    oklch(33.5% 0.019 18.1)

  • #2C3A3A

    #2C3A3A

    oklch(33.6% 0.018 196.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #403333

    #403333

    oklch(33.5% 0.019 18.1)

  • #3E3338

    #3E3338

    oklch(33.5% 0.018 349)

  • #3F342E

    #3F342E

    oklch(33.5% 0.019 50.3)

Open the analogous palette in the generator

Split complementary

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

  • #403333

    #403333

    oklch(33.5% 0.019 18.1)

  • #2E3A35

    #2E3A35

    oklch(33.6% 0.018 168)

  • #2D393E

    #2D393E

    oklch(33.6% 0.018 225.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #403333

    #403333

    oklch(33.5% 0.019 18.1)

  • #323930

    #323930

    oklch(33.5% 0.018 138.7)

  • #313741

    #313741

    oklch(33.5% 0.019 260.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #403333

    #403333

    oklch(33.5% 0.019 18.1)

  • #37382C

    #37382C

    oklch(33.6% 0.02 111.4)

  • #2C3A3A

    #2C3A3A

    oklch(33.6% 0.018 196.3)

  • #363540

    #363540

    oklch(33.4% 0.019 289.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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