#504240

Closest named color: Charcoal Grey (#3C4142). oklch(39.3% 0.02 27.6), rgb(80, 66, 64).

Aa

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

About this color

#504240 is a dark close to neutral grey. In OKLCH its lightness is 39%, its chroma 0.020. It has too little chroma to lean warm or cool. The nearest named color is Charcoal Grey (#3C4142), ΔE 0.035 away. White text reads best on it, at 9.56:1.

Hue familyNeutrals
Lightnessdark (39%)
Chromaclose to neutral grey (0.020)
Temperatureneutral
Nearest nameCharcoal Grey (#3C4142)
Black text2.19:1
White text9.56:1

Values

HEX#504240
RGBrgb(80, 66, 64)
HSLhsl(8, 11%, 28%)
OKLCHoklch(39.3% 0.02 27.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 #504240 9.56:1 AAA Lc -96.4 Preferred for body text
Black text on #504240 2.19:1 Fails Lc 11.8 Not readable
#504240 text on white 9.56:1 AAA Lc 92.2 Preferred for body text
#504240 text on black 2.19:1 Fails Lc -10.2 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

    #DED7D6

    oklch(88.4% 0.008 27.2)

  4. Step 300

    300

    #CABDBB

    oklch(80.9% 0.015 28)

  5. Step 400

    400

    #AF9B99

    oklch(70.6% 0.024 24.6)

  6. Step 500

    500

    #9B837F

    oklch(63.1% 0.03 29.1)

  7. Step 600

    600

    #866C69

    oklch(55.6% 0.034 25.9)

  8. Step 700

    700

    #715A57

    oklch(49% 0.031 26.9)

  9. Step 800

    800

    #5C4A47

    oklch(42.7% 0.025 29.2)

  10. Step 900

    900 (this color)

    #504240

    oklch(39.3% 0.02 27.6)

  11. Step 950

    950

    #2C2423

    oklch(26.9% 0.012 26.3)

Export this scale for Tailwind in the Tailwind colors tool

#504240 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)#4544400.019
Deuteranopia (no green cones)#4846400.018
Tritanopia (no blue cones)#5340410.009
Achromatopsia (no color)#4545450.020

Harmonies

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

Complementary

The opposite hue (180°).

  • #504240

    #504240

    oklch(39.3% 0.02 27.6)

  • #3A494B

    #3A494B

    oklch(39.3% 0.019 206.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #504240

    #504240

    oklch(39.3% 0.02 27.6)

  • #4F4246

    #4F4246

    oklch(39.4% 0.019 357.5)

  • #4E433C

    #4E433C

    oklch(39.2% 0.019 54.5)

Open the analogous palette in the generator

Split complementary

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

  • #504240

    #504240

    oklch(39.3% 0.02 27.6)

  • #3B4946

    #3B4946

    oklch(39.2% 0.019 180.8)

  • #3C484F

    #3C484F

    oklch(39.4% 0.02 233.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #504240

    #504240

    oklch(39.3% 0.02 27.6)

  • #3F4940

    #3F4940

    oklch(39.3% 0.02 148)

  • #414651

    #414651

    oklch(39.4% 0.02 266)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #504240

    #504240

    oklch(39.3% 0.02 27.6)

  • #45473C

    #45473C

    oklch(39.2% 0.018 115.6)

  • #3A494B

    #3A494B

    oklch(39.3% 0.019 206.3)

  • #47444F

    #47444F

    oklch(39.4% 0.019 298)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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