#7F877D

Closest named color: Gray (#808080). oklch(61.4% 0.018 139.4), rgb(127, 135, 125).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessmedium-dark (61%)
Chromaclose to neutral grey (0.018)
Temperatureneutral
Nearest nameGray (#808080)
Black text5.66:1
White text3.70:1

Values

HEX#7F877D
RGBrgb(127, 135, 125)
HSLhsl(108, 4%, 51%)
OKLCHoklch(61.4% 0.018 139.4)

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 #7F877D 3.70:1 AA large text Lc -70.2 Content text, not long reading
Black text on #7F877D 5.66:1 AA Lc 39.4 Non-text elements, placeholder text
#7F877D text on white 3.70:1 AA large text Lc 64.7 Content text, not long reading
#7F877D text on black 5.66:1 AA Lc -37.0 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

    #F5F6F5

    oklch(97.2% 0.002 145.6)

  2. Step 100

    100

    #E9EAE9

    oklch(93.6% 0.002 145.6)

  3. Step 200

    200

    #D7DAD7

    oklch(88.5% 0.005 145.5)

  4. Step 300

    300

    #BEC2BD

    oklch(80.9% 0.008 139.4)

  5. Step 400

    400

    #9CA39B

    oklch(70.7% 0.014 141.8)

  6. Step 500

    500 (this color)

    #7F877D

    oklch(61.4% 0.018 139.4)

  7. Step 600

    600

    #6E766C

    oklch(55.6% 0.018 139.4)

  8. Step 700

    700

    #5C635A

    oklch(49.1% 0.017 138.7)

  9. Step 800

    800

    #4B5149

    oklch(42.7% 0.015 137.8)

  10. Step 900

    900

    #3E433D

    oklch(37.6% 0.012 140.5)

  11. Step 950

    950

    #252724

    oklch(27% 0.006 134.9)

Export this scale for Tailwind in the Tailwind colors tool

#7F877D 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)#88857C0.013
Deuteranopia (no green cones)#86847D0.013
Tritanopia (no blue cones)#7F86840.012
Achromatopsia (no color)#8585850.018

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F877D

    #7F877D

    oklch(61.4% 0.018 139.4)

  • #89818B

    #89818B

    oklch(61.4% 0.018 319.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F877D

    #7F877D

    oklch(61.4% 0.018 139.4)

  • #858579

    #858579

    oklch(61.3% 0.018 106.9)

  • #7B8882

    #7B8882

    oklch(61.4% 0.018 166.4)

Open the analogous palette in the generator

Split complementary

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

  • #7F877D

    #7F877D

    oklch(61.4% 0.018 139.4)

  • #84838E

    #84838E

    oklch(61.4% 0.016 290.1)

  • #8D8086

    #8D8086

    oklch(61.3% 0.018 348)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F877D

    #7F877D

    oklch(61.4% 0.018 139.4)

  • #7E858F

    #7E858F

    oklch(61.4% 0.017 257.2)

  • #8F8080

    #8F8080

    oklch(61.3% 0.018 17.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F877D

    #7F877D

    oklch(61.4% 0.018 139.4)

  • #7A878D

    #7A878D

    oklch(61.5% 0.018 227.1)

  • #89818B

    #89818B

    oklch(61.4% 0.018 319.5)

  • #8E817B

    #8E817B

    oklch(61.3% 0.018 46.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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