#7E7D87

Closest named color: Gray (#808080). oklch(59.4% 0.015 290.5), rgb(126, 125, 135).

Aa

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

About this color

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

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

Values

HEX#7E7D87
RGBrgb(126, 125, 135)
HSLhsl(246, 4%, 51%)
OKLCHoklch(59.4% 0.015 290.5)

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 #7E7D87 4.06:1 AA large text Lc -73.4 Content text, not long reading
Black text on #7E7D87 5.17:1 AA Lc 36.2 Non-text elements, placeholder text
#7E7D87 text on white 4.06:1 AA large text Lc 67.9 Content text, not long reading
#7E7D87 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

    #F5F5F6

    oklch(97% 0.001 286.4)

  2. Step 100

    100

    #EAE9EB

    oklch(93.5% 0.003 308.4)

  3. Step 200

    200

    #D9D9DC

    oklch(88.6% 0.004 286.3)

  4. Step 300

    300

    #C0C0C5

    oklch(80.9% 0.007 286.2)

  5. Step 400

    400

    #A09FA8

    oklch(70.6% 0.013 291.2)

  6. Step 500

    500 (this color)

    #7E7D87

    oklch(59.4% 0.015 290.5)

  7. Step 600

    600

    #73727C

    oklch(55.6% 0.015 290.5)

  8. Step 700

    700

    #605F69

    oklch(49% 0.016 290.4)

  9. Step 800

    800

    #4F4E56

    oklch(42.8% 0.013 291.6)

  10. Step 900

    900

    #414147

    oklch(37.8% 0.01 285.9)

  11. Step 950

    950

    #262629

    oklch(27% 0.005 286)

Export this scale for Tailwind in the Tailwind colors tool

#7E7D87 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)#7B7E870.005
Deuteranopia (no green cones)#7B7E870.005
Tritanopia (no blue cones)#7C7E800.013
Achromatopsia (no color)#7E7E7E0.015

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E7D87

    #7E7D87

    oklch(59.4% 0.015 290.5)

  • #7F7F75

    #7F7F75

    oklch(59.3% 0.015 106.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E7D87

    #7E7D87

    oklch(59.4% 0.015 290.5)

  • #797F88

    #797F88

    oklch(59.4% 0.015 258.4)

  • #837C84

    #837C84

    oklch(59.5% 0.015 321.9)

Open the analogous palette in the generator

Split complementary

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

  • #7E7D87

    #7E7D87

    oklch(59.4% 0.015 290.5)

  • #837E75

    #837E75

    oklch(59.5% 0.015 82.4)

  • #7A8178

    #7A8178

    oklch(59.5% 0.016 138.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E7D87

    #7E7D87

    oklch(59.4% 0.015 290.5)

  • #867C76

    #867C76

    oklch(59.3% 0.015 53.2)

  • #76817D

    #76817D

    oklch(59.3% 0.014 172)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E7D87

    #7E7D87

    oklch(59.4% 0.015 290.5)

  • #877B7B

    #877B7B

    oklch(59.4% 0.015 17.6)

  • #7F7F75

    #7F7F75

    oklch(59.3% 0.015 106.8)

  • #758182

    #758182

    oklch(59.4% 0.014 202.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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