#504E41

Closest named color: Dark Slate Gray (#2F4F4F). oklch(42.2% 0.021 100), rgb(80, 78, 65).

Aa

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

About this color

#504E41 is a dark close to neutral grey. In OKLCH its lightness is 42%, its chroma 0.021. It has too little chroma to lean warm or cool. The nearest named color is Dark Slate Gray (#2F4F4F), ΔE 0.049 away. White text reads best on it, at 8.37:1.

Hue familyNeutrals
Lightnessdark (42%)
Chromaclose to neutral grey (0.021)
Temperatureneutral
Nearest nameDark Slate Gray (#2F4F4F)
Black text2.50:1
White text8.37:1

Values

HEX#504E41
RGBrgb(80, 78, 65)
HSLhsl(52, 10%, 28%)
OKLCHoklch(42.2% 0.021 100)

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 #504E41 8.37:1 AAA Lc -93.5 Preferred for body text
Black text on #504E41 2.50:1 Fails Lc 15.1 Dividers and decoration only
#504E41 text on white 8.37:1 AAA Lc 88.9 Fine for body text
#504E41 text on black 2.50:1 Fails Lc -13.3 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 800.

  1. Step 50

    50

    #F6F5F4

    oklch(97.1% 0.002 67.8)

  2. Step 100

    100

    #EAEAE7

    oklch(93.6% 0.004 106.5)

  3. Step 200

    200

    #DAD9D4

    oklch(88.5% 0.007 97.4)

  4. Step 300

    300

    #C2C1B8

    oklch(80.9% 0.012 101.5)

  5. Step 400

    400

    #A3A193

    oklch(70.7% 0.02 100.3)

  6. Step 500

    500

    #8D8A79

    oklch(63.1% 0.025 98.8)

  7. Step 600

    600

    #777462

    oklch(55.6% 0.027 99.4)

  8. Step 700

    700

    #646151

    oklch(49.1% 0.025 98.4)

  9. Step 800

    800 (this color)

    #504E41

    oklch(42.2% 0.021 100)

  10. Step 900

    900

    #434238

    oklch(37.7% 0.017 102.5)

  11. Step 950

    950

    #272721

    oklch(27.1% 0.011 107.1)

Export this scale for Tailwind in the Tailwind colors tool

#504E41 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)#514D400.003
Deuteranopia (no green cones)#514E410.002
Tritanopia (no blue cones)#524C4A0.018
Achromatopsia (no color)#4E4E4E0.021

Harmonies

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

Complementary

The opposite hue (180°).

  • #504E41

    #504E41

    oklch(42.2% 0.021 100)

  • #4B4D59

    #4B4D59

    oklch(42.3% 0.02 278)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #504E41

    #504E41

    oklch(42.2% 0.021 100)

  • #554C41

    #554C41

    oklch(42.2% 0.021 72.7)

  • #4A5044

    #4A5044

    oklch(42.2% 0.021 129)

Open the analogous palette in the generator

Split complementary

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

  • #504E41

    #504E41

    oklch(42.2% 0.021 100)

  • #454F59

    #454F59

    oklch(42.3% 0.021 248.3)

  • #514B56

    #514B56

    oklch(42.3% 0.019 309.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #504E41

    #504E41

    oklch(42.2% 0.021 100)

  • #415056

    #415056

    oklch(42.1% 0.021 224.1)

  • #564951

    #564951

    oklch(42.1% 0.022 340.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #504E41

    #504E41

    oklch(42.2% 0.021 100)

  • #415150

    #415150

    oklch(42.1% 0.02 191.7)

  • #4B4D59

    #4B4D59

    oklch(42.3% 0.02 278)

  • #58494B

    #58494B

    oklch(42.1% 0.021 8.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #504E41 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.