#7F7E71

Closest named color: Medium Grey (#7D7F7C). oklch(59% 0.019 103.4), rgb(127, 126, 113).

Aa

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

About this color

#7F7E71 is a medium-dark close to neutral grey. In OKLCH its lightness is 59%, its chroma 0.019. It has too little chroma to lean warm or cool. The nearest named color is Medium Grey (#7D7F7C), ΔE 0.016 away. Black text reads best on it, at 5.12:1.

Hue familyNeutrals
Lightnessmedium-dark (59%)
Chromaclose to neutral grey (0.019)
Temperatureneutral
Nearest nameMedium Grey (#7D7F7C)
Black text5.12:1
White text4.09:1

Values

HEX#7F7E71
RGBrgb(127, 126, 113)
HSLhsl(56, 6%, 47%)
OKLCHoklch(59% 0.019 103.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 #7F7E71 4.09:1 AA large text Lc -73.7 Content text, not long reading
Black text on #7F7E71 5.12:1 AA Lc 35.9 Non-text elements, placeholder text
#7F7E71 text on white 4.09:1 AA large text Lc 68.2 Content text, not long reading
#7F7E71 text on black 5.12:1 AA Lc -33.5 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

    #F5F5F4

    oklch(97% 0.001 106.4)

  2. Step 100

    100

    #EAEAE8

    oklch(93.6% 0.003 106.5)

  3. Step 200

    200

    #D9D9D6

    oklch(88.4% 0.004 106.5)

  4. Step 300

    300

    #C1C1BB

    oklch(80.9% 0.008 106.6)

  5. Step 400

    400

    #A2A197

    oklch(70.7% 0.014 102.1)

  6. Step 500

    500

    #8B8A7E

    oklch(63.1% 0.018 103)

  7. Step 600

    600 (this color)

    #7F7E71

    oklch(59% 0.019 103.4)

  8. Step 700

    700

    #626156

    oklch(49% 0.017 102.8)

  9. Step 800

    800

    #504F46

    oklch(42.6% 0.015 101.8)

  10. Step 900

    900

    #42423B

    oklch(37.7% 0.012 106.9)

  11. Step 950

    950

    #272723

    oklch(27.1% 0.007 106.9)

Export this scale for Tailwind in the Tailwind colors tool

#7F7E71 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)#817D700.004
Deuteranopia (no green cones)#817E710.003
Tritanopia (no blue cones)#817C7A0.017
Achromatopsia (no color)#7D7D7D0.019

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F7E71

    #7F7E71

    oklch(59% 0.019 103.4)

  • #7B7C89

    #7B7C89

    oklch(59% 0.02 282.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F7E71

    #7F7E71

    oklch(59% 0.019 103.4)

  • #847C71

    #847C71

    oklch(59% 0.019 76)

  • #798074

    #798074

    oklch(59% 0.02 132)

Open the analogous palette in the generator

Split complementary

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

  • #7F7E71

    #7F7E71

    oklch(59% 0.019 103.4)

  • #757E89

    #757E89

    oklch(58.9% 0.02 253.4)

  • #817A86

    #817A86

    oklch(59% 0.02 311.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F7E71

    #7F7E71

    oklch(59% 0.019 103.4)

  • #718086

    #718086

    oklch(59% 0.02 223.8)

  • #867980

    #867980

    oklch(59% 0.019 344)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F7E71

    #7F7E71

    oklch(59% 0.019 103.4)

  • #718180

    #718180

    oklch(59% 0.019 192.1)

  • #7B7C89

    #7B7C89

    oklch(59% 0.02 282.3)

  • #88797A

    #88797A

    oklch(59% 0.019 13.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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