#8A7E71

Closest named color: Medium Grey (#7D7F7C). oklch(60% 0.024 69.6), rgb(138, 126, 113).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessmedium-dark (60%)
Chromaclose to neutral grey (0.024)
Temperatureneutral
Nearest nameMedium Grey (#7D7F7C)
Black text5.30:1
White text3.95:1

Values

HEX#8A7E71
RGBrgb(138, 126, 113)
HSLhsl(31, 10%, 49%)
OKLCHoklch(60% 0.024 69.6)

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 #8A7E71 3.95:1 AA large text Lc -72.5 Content text, not long reading
Black text on #8A7E71 5.30:1 AA Lc 37.1 Non-text elements, placeholder text
#8A7E71 text on white 3.95:1 AA large text Lc 67.0 Content text, not long reading
#8A7E71 text on black 5.30:1 AA Lc -34.7 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

    #F6F5F4

    oklch(97.1% 0.002 67.8)

  2. Step 100

    100

    #EBE9E7

    oklch(93.5% 0.003 67.8)

  3. Step 200

    200

    #DCD8D4

    oklch(88.4% 0.007 67.7)

  4. Step 300

    300

    #C6BFB9

    oklch(80.9% 0.012 63.3)

  5. Step 400

    400

    #A99F94

    oklch(70.8% 0.02 70.1)

  6. Step 500

    500 (this color)

    #8A7E71

    oklch(60% 0.024 69.6)

  7. Step 600

    600

    #7E7163

    oklch(55.7% 0.027 69.3)

  8. Step 700

    700

    #6A5F52

    oklch(49.2% 0.025 71.8)

  9. Step 800

    800

    #564D43

    oklch(42.6% 0.02 70.2)

  10. Step 900

    900

    #474039

    oklch(37.6% 0.015 67.3)

  11. Step 950

    950

    #2A2621

    oklch(27.1% 0.011 73.5)

Export this scale for Tailwind in the Tailwind colors tool

#8A7E71 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)#827E700.013
Deuteranopia (no green cones)#8581710.011
Tritanopia (no blue cones)#8F7B7A0.020
Achromatopsia (no color)#8080800.024

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A7E71

    #8A7E71

    oklch(60% 0.024 69.6)

  • #76828F

    #76828F

    oklch(60.1% 0.024 250.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A7E71

    #8A7E71

    oklch(60% 0.024 69.6)

  • #8E7C76

    #8E7C76

    oklch(60.1% 0.024 39.3)

  • #838170

    #838170

    oklch(60% 0.025 101.6)

Open the analogous palette in the generator

Split complementary

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

  • #8A7E71

    #8A7E71

    oklch(60% 0.024 69.6)

  • #71848A

    #71848A

    oklch(60% 0.024 218.8)

  • #7D7F8F

    #7D7F8F

    oklch(60% 0.024 280)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A7E71

    #8A7E71

    oklch(60% 0.024 69.6)

  • #708583

    #708583

    oklch(59.9% 0.024 189.5)

  • #857D8B

    #857D8B

    oklch(60.1% 0.023 310.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A7E71

    #8A7E71

    oklch(60% 0.024 69.6)

  • #74857B

    #74857B

    oklch(60% 0.025 159.8)

  • #76828F

    #76828F

    oklch(60.1% 0.024 250.4)

  • #8B7B85

    #8B7B85

    oklch(60.1% 0.024 340)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #8A7E71 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.