#8B787F

Closest named color: Gray (#808080). oklch(59.2% 0.026 353.7), rgb(139, 120, 127).

Aa

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

About this color

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

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

Values

HEX#8B787F
RGBrgb(139, 120, 127)
HSLhsl(338, 8%, 51%)
OKLCHoklch(59.2% 0.026 353.7)

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 #8B787F 4.12:1 AA large text Lc -73.9 Content text, not long reading
Black text on #8B787F 5.09:1 AA Lc 35.7 Non-text elements, placeholder text
#8B787F text on white 4.12:1 AA large text Lc 68.4 Content text, not long reading
#8B787F text on black 5.09:1 AA Lc -33.3 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 600.

  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

    #C7BEC1

    oklch(81% 0.011 355)

  5. Step 400

    400

    #AB9CA1

    oklch(70.7% 0.019 355.3)

  6. Step 500

    500

    #96848A

    oklch(63.1% 0.023 355.6)

  7. Step 600

    600 (this color)

    #8B787F

    oklch(59.2% 0.026 353.7)

  8. Step 700

    700

    #6C5B62

    oklch(49% 0.024 351.3)

  9. Step 800

    800

    #584B50

    oklch(42.8% 0.019 352.8)

  10. Step 900

    900

    #493E42

    oklch(37.7% 0.017 354)

  11. Step 950

    950

    #2A2527

    oklch(27.1% 0.008 351.5)

Export this scale for Tailwind in the Tailwind colors tool

#8B787F 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)#7A7B7F0.027
Deuteranopia (no green cones)#7E7E7F0.025
Tritanopia (no blue cones)#8E777A0.008
Achromatopsia (no color)#7D7D7D0.026

Harmonies

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

Complementary

The opposite hue (180°).

  • #8B787F

    #8B787F

    oklch(59.2% 0.026 353.7)

  • #6F837D

    #6F837D

    oklch(59.2% 0.025 175.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8B787F

    #8B787F

    oklch(59.2% 0.026 353.7)

  • #867987

    #867987

    oklch(59.2% 0.026 323.7)

  • #8D7877

    #8D7877

    oklch(59.2% 0.026 21.2)

Open the analogous palette in the generator

Split complementary

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

  • #8B787F

    #8B787F

    oklch(59.2% 0.026 353.7)

  • #758274

    #758274

    oklch(59.2% 0.026 143.3)

  • #6D8385

    #6D8385

    oklch(59.3% 0.026 203.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8B787F

    #8B787F

    oklch(59.2% 0.026 353.7)

  • #7E806F

    #7E806F

    oklch(59.3% 0.025 112.6)

  • #70818B

    #70818B

    oklch(59.3% 0.025 233.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8B787F

    #8B787F

    oklch(59.2% 0.026 353.7)

  • #857D6D

    #857D6D

    oklch(59.2% 0.026 84.6)

  • #6F837D

    #6F837D

    oklch(59.2% 0.025 175.4)

  • #767E8E

    #767E8E

    oklch(59.2% 0.026 264.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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