Medium Grey #7D7F7C

Medium Grey is a medium-dark close to neutral grey with hex code #7D7F7C and RGB rgb(125, 127, 124).

Aa

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

About this color

#7D7F7C is a medium-dark close to neutral grey. In OKLCH its lightness is 59%, its chroma 0.005. It has too little chroma to lean warm or cool. It is the named color Medium Grey. Black text reads best on it, at 5.19:1.

Hue familyNeutrals
Lightnessmedium-dark (59%)
Chromaclose to neutral grey (0.005)
Temperatureneutral
Nearest nameMedium Grey
Black text5.19:1
White text4.03:1

Colors that go with Medium Grey

Matches found by rotating Medium Grey around the OKLCH hue wheel, each labelled with the closest name in our list.

Medium Grey is close to neutral, so it has no hue to rotate. It pairs with almost any color; try the palettes below.

Color palettes with Medium Grey

Curated color palettes that contain a color within ΔE 0.06 (OKLab) of Medium Grey, closest first.

Similar named colors

The eight named colors closest to Medium Grey, with their ΔE distance.

More about Medium Grey

How to make Medium Grey

A starting recipe from common paint colors, found with a spectral paint model (the color mixer’s paint mode). Real pigments vary, so mix a small test batch and adjust.

  • 4 parts gray
  • 1 part green
  • 1 part purple

Recipe result: #7E7F81, a difference of ΔE 0.008 from Medium Grey. That is very close: most people will not see the difference.

What colors make gray? | Color mixing chart

Codes for Medium Grey in every format

HEX#7D7F7C
RGBrgb(125, 127, 124)
HSLhsl(100, 1%, 49%)
OKLCHoklch(59.4% 0.005 134.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 #7D7F7C 4.03:1 AA large text Lc -73.2 Content text, not long reading
Black text on #7D7F7C 5.19:1 AA Lc 36.4 Non-text elements, placeholder text
#7D7F7C text on white 4.03:1 AA large text Lc 67.7 Content text, not long reading
#7D7F7C text on black 5.19:1 AA Lc -34.0 Non-text elements, placeholder text

Shades and tints of Medium Grey

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

    #F5F5F5

    oklch(97% 0 0)

  2. Step 100

    100

    #E9EAE9

    oklch(93.6% 0.002 145.6)

  3. Step 200

    200

    #D9D9D8

    oklch(88.5% 0.001 106.4)

  4. Step 300

    300

    #C0C1BF

    oklch(81% 0.003 128.5)

  5. Step 400

    400

    #9FA19F

    oklch(70.7% 0.004 145.5)

  6. Step 500

    500 (this color)

    #7D7F7C

    oklch(59.4% 0.005 134.9)

  7. Step 600

    600

    #727471

    oklch(55.6% 0.005 134.9)

  8. Step 700

    700

    #5F615E

    oklch(49% 0.005 134.9)

  9. Step 800

    800

    #4E4F4D

    oklch(42.6% 0.003 128.6)

  10. Step 900

    900

    #414240

    oklch(37.7% 0.004 128.6)

  11. Step 950

    950

    #262726

    oklch(27.1% 0.002 145.5)

Export this scale for Tailwind in the Tailwind colors tool

Medium Grey 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)#7F7E7C0.004
Deuteranopia (no green cones)#7F7E7C0.004
Tritanopia (no blue cones)#7D7F7E0.003
Achromatopsia (no color)#7E7E7E0.005

Use Medium Grey 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.