#504140

Closest named color: Charcoal Grey (#3C4142). oklch(39.1% 0.021 22.6), rgb(80, 65, 64).

Aa

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

About this color

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

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

Values

HEX#504140
RGBrgb(80, 65, 64)
HSLhsl(4, 11%, 28%)
OKLCHoklch(39.1% 0.021 22.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 #504140 9.67:1 AAA Lc -96.6 Preferred for body text
Black text on #504140 2.17:1 Fails Lc 11.5 Not readable
#504140 text on white 9.67:1 AAA Lc 92.4 Preferred for body text
#504140 text on black 2.17:1 Fails Lc -10.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

    #CBBDBC

    oklch(81% 0.016 22.4)

  5. Step 400

    400

    #B09B99

    oklch(70.7% 0.025 24.3)

  6. Step 500

    500

    #9C8280

    oklch(63% 0.032 23.2)

  7. Step 600

    600

    #876C6A

    oklch(55.7% 0.035 23.2)

  8. Step 700

    700

    #725A58

    oklch(49.1% 0.032 23.8)

  9. Step 800

    800

    #5D4948

    oklch(42.6% 0.027 21.6)

  10. Step 900

    900 (this color)

    #504140

    oklch(39.1% 0.021 22.6)

  11. Step 950

    950

    #2D2423

    oklch(27% 0.014 25.5)

Export this scale for Tailwind in the Tailwind colors tool

#504140 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)#4443400.021
Deuteranopia (no green cones)#4746400.021
Tritanopia (no blue cones)#533F410.009
Achromatopsia (no color)#4444440.021

Harmonies

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

Complementary

The opposite hue (180°).

  • #504140

    #504140

    oklch(39.1% 0.021 22.6)

  • #38494A

    #38494A

    oklch(39.1% 0.022 200.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #504140

    #504140

    oklch(39.1% 0.021 22.6)

  • #4F4146

    #4F4146

    oklch(39.2% 0.021 354.6)

  • #4F423B

    #4F423B

    oklch(39% 0.021 50)

Open the analogous palette in the generator

Split complementary

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

  • #504140

    #504140

    oklch(39.1% 0.021 22.6)

  • #3A4944

    #3A4944

    oklch(39.1% 0.021 172.9)

  • #3A474F

    #3A474F

    oklch(39% 0.022 235.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #504140

    #504140

    oklch(39.1% 0.021 22.6)

  • #3F483E

    #3F483E

    oklch(39% 0.02 142.4)

  • #3F4551

    #3F4551

    oklch(39% 0.022 264.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #504140

    #504140

    oklch(39.1% 0.021 22.6)

  • #45473A

    #45473A

    oklch(39.2% 0.021 114.5)

  • #38494A

    #38494A

    oklch(39.1% 0.022 200.8)

  • #454350

    #454350

    oklch(39% 0.022 292.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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