#8D797F

Closest named color: Gray (#808080). oklch(59.7% 0.026 357.9), rgb(141, 121, 127).

Aa

Black text reads best on this color (5.17:1).

About this color

#8D797F is a medium-dark close to neutral grey. In OKLCH its lightness is 60%, its chroma 0.026. It has too little chroma to lean warm or cool. The nearest named color is Gray (#808080), ΔE 0.026 away. Black text reads best on it, at 5.17:1.

Hue familyNeutrals
Lightnessmedium-dark (60%)
Chromaclose to neutral grey (0.026)
Temperatureneutral
Nearest nameGray (#808080)
Black text5.17:1
White text4.05:1

Values

HEX#8D797F
RGBrgb(141, 121, 127)
HSLhsl(342, 8%, 51%)
OKLCHoklch(59.7% 0.026 357.9)

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 #8D797F 4.05:1 AA large text Lc -73.3 Content text, not long reading
Black text on #8D797F 5.17:1 AA Lc 36.3 Non-text elements, placeholder text
#8D797F text on white 4.05:1 AA large text Lc 67.8 Content text, not long reading
#8D797F text on black 5.17:1 AA Lc -33.8 Non-text elements, placeholder text

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 500.

  1. Step 50

    50

    #F6F5F5

    oklch(97.1% 0.001 17.2)

  2. Step 100

    100

    #ECE9EA

    oklch(93.7% 0.003 354.7)

  3. Step 200

    200

    #DDD7D9

    oklch(88.4% 0.007 354.8)

  4. Step 300

    300

    #C8BDC0

    oklch(80.8% 0.013 358.9)

  5. Step 400

    400

    #AC9CA0

    oklch(70.8% 0.02 0.6)

  6. Step 500

    500 (this color)

    #8D797F

    oklch(59.7% 0.026 357.9)

  7. Step 600

    600

    #826D73

    oklch(55.7% 0.028 359)

  8. Step 700

    700

    #6E5B61

    oklch(49.2% 0.026 357.2)

  9. Step 800

    800

    #5A4A4F

    oklch(42.7% 0.023 357.4)

  10. Step 900

    900

    #4A3E41

    oklch(37.7% 0.017 1.1)

  11. Step 950

    950

    #2B2426

    oklch(26.9% 0.011 358.7)

Export this scale for Tailwind in the Tailwind colors tool

#8D797F 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)#7B7C7F0.028
Deuteranopia (no green cones)#7F7F7F0.026
Tritanopia (no blue cones)#91787B0.008
Achromatopsia (no color)#7E7E7E0.026

Harmonies

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

Complementary

The opposite hue (180°).

  • #8D797F

    #8D797F

    oklch(59.7% 0.026 357.9)

  • #6F857F

    #6F857F

    oklch(59.7% 0.027 177)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8D797F

    #8D797F

    oklch(59.7% 0.026 357.9)

  • #887A87

    #887A87

    oklch(59.6% 0.026 328.1)

  • #8E7A77

    #8E7A77

    oklch(59.7% 0.025 28)

Open the analogous palette in the generator

Split complementary

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

  • #8D797F

    #8D797F

    oklch(59.7% 0.026 357.9)

  • #758477

    #758477

    oklch(59.7% 0.026 149.1)

  • #6E8487

    #6E8487

    oklch(59.7% 0.026 206.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8D797F

    #8D797F

    oklch(59.7% 0.026 357.9)

  • #7D8270

    #7D8270

    oklch(59.7% 0.027 119.9)

  • #71828D

    #71828D

    oklch(59.7% 0.026 236.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8D797F

    #8D797F

    oklch(59.7% 0.026 357.9)

  • #867F6E

    #867F6E

    oklch(59.8% 0.026 88.3)

  • #6F857F

    #6F857F

    oklch(59.7% 0.027 177)

  • #787F8F

    #787F8F

    oklch(59.6% 0.026 266.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #8D797F 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.