#7A8178

Closest named color: Medium Grey (#7D7F7C). oklch(59.5% 0.016 138.7), rgb(122, 129, 120).

Aa

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

About this color

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

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

Values

HEX#7A8178
RGBrgb(122, 129, 120)
HSLhsl(107, 4%, 49%)
OKLCHoklch(59.5% 0.016 138.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 #7A8178 4.00:1 AA large text Lc -72.9 Content text, not long reading
Black text on #7A8178 5.23:1 AA Lc 36.7 Non-text elements, placeholder text
#7A8178 text on white 4.00:1 AA large text Lc 67.4 Content text, not long reading
#7A8178 text on black 5.23:1 AA Lc -34.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 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

    #D8DAD7

    oklch(88.6% 0.005 134.9)

  4. Step 300

    300

    #BEC2BD

    oklch(80.9% 0.008 139.4)

  5. Step 400

    400

    #9DA29B

    oklch(70.6% 0.012 136.6)

  6. Step 500

    500 (this color)

    #7A8178

    oklch(59.5% 0.016 138.7)

  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

    #4B514A

    oklch(42.7% 0.014 141.2)

  10. Step 900

    900

    #3F433E

    oklch(37.7% 0.01 139.4)

  11. Step 950

    950

    #252724

    oklch(27% 0.006 134.9)

Export this scale for Tailwind in the Tailwind colors tool

#7A8178 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)#827F780.013
Deuteranopia (no green cones)#807F780.010
Tritanopia (no blue cones)#7A807E0.010
Achromatopsia (no color)#7F7F7F0.016

Harmonies

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

Complementary

The opposite hue (180°).

  • #7A8178

    #7A8178

    oklch(59.5% 0.016 138.7)

  • #837C85

    #837C85

    oklch(59.5% 0.016 318.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7A8178

    #7A8178

    oklch(59.5% 0.016 138.7)

  • #7F7F75

    #7F7F75

    oklch(59.3% 0.015 106.8)

  • #76827D

    #76827D

    oklch(59.5% 0.016 168.9)

Open the analogous palette in the generator

Split complementary

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

  • #7A8178

    #7A8178

    oklch(59.5% 0.016 138.7)

  • #7E7D88

    #7E7D88

    oklch(59.4% 0.017 290.1)

  • #867B80

    #867B80

    oklch(59.4% 0.015 348.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7A8178

    #7A8178

    oklch(59.5% 0.016 138.7)

  • #797F88

    #797F88

    oklch(59.4% 0.015 258.4)

  • #887B7B

    #887B7B

    oklch(59.5% 0.016 17.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7A8178

    #7A8178

    oklch(59.5% 0.016 138.7)

  • #758186

    #758186

    oklch(59.5% 0.016 224.7)

  • #837C85

    #837C85

    oklch(59.5% 0.016 318.7)

  • #877C77

    #877C77

    oklch(59.5% 0.016 46.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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