#AFA6B7

Closest named color: Dark Gray (#A9A9A9). oklch(73.8% 0.026 309.3), rgb(175, 166, 183).

Aa

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

About this color

#AFA6B7 is a medium-light close to neutral grey. In OKLCH its lightness is 74%, its chroma 0.026. It has too little chroma to lean warm or cool. The nearest named color is Dark Gray (#A9A9A9), ΔE 0.026 away. Black text reads best on it, at 8.96:1.

Hue familyNeutrals
Lightnessmedium-light (74%)
Chromaclose to neutral grey (0.026)
Temperatureneutral
Nearest nameDark Gray (#A9A9A9)
Black text8.96:1
White text2.34:1

Values

HEX#AFA6B7
RGBrgb(175, 166, 183)
HSLhsl(272, 11%, 68%)
OKLCHoklch(73.8% 0.026 309.3)

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 #AFA6B7 2.34:1 Fails Lc -51.1 Large or bold text, headings
Black text on #AFA6B7 8.96:1 AAA Lc 57.8 Large or bold text, headings
#AFA6B7 text on white 2.34:1 Fails Lc 46.2 Large or bold text, headings
#AFA6B7 text on black 8.96:1 AAA Lc -55.8 Large or bold text, headings

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 400.

  1. Step 50

    50

    #F6F5F6

    oklch(97.1% 0.002 325.6)

  2. Step 100

    100

    #EBE9EC

    oklch(93.6% 0.005 314.8)

  3. Step 200

    200

    #DBD7DE

    oklch(88.4% 0.01 311.2)

  4. Step 300

    300

    #C4BEC9

    oklch(81% 0.017 310.1)

  5. Step 400

    400 (this color)

    #AFA6B7

    oklch(73.8% 0.026 309.3)

  6. Step 500

    500

    #8F8499

    oklch(63% 0.033 308.9)

  7. Step 600

    600

    #7A6E84

    oklch(55.7% 0.036 309.6)

  8. Step 700

    700

    #665C70

    oklch(49.2% 0.034 307.7)

  9. Step 800

    800

    #534B5B

    oklch(42.7% 0.028 307.7)

  10. Step 900

    900

    #453F4B

    oklch(37.8% 0.022 307.8)

  11. Step 950

    950

    #28252C

    oklch(27.1% 0.013 304.9)

Export this scale for Tailwind in the Tailwind colors tool

#AFA6B7 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)#A4A9B80.016
Deuteranopia (no green cones)#A5A9B60.016
Tritanopia (no blue cones)#AEA8AB0.020
Achromatopsia (no color)#A9A9A90.026

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA6B7

    #AFA6B7

    oklch(73.8% 0.026 309.3)

  • #A5AE9D

    #A5AE9D

    oklch(73.9% 0.026 130)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA6B7

    #AFA6B7

    oklch(73.8% 0.026 309.3)

  • #A6A9BB

    #A6A9BB

    oklch(73.8% 0.026 278.2)

  • #B6A4B0

    #B6A4B0

    oklch(73.8% 0.027 338)

Open the analogous palette in the generator

Split complementary

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

  • #AFA6B7

    #AFA6B7

    oklch(73.8% 0.026 309.3)

  • #AEAB98

    #AEAB98

    oklch(73.8% 0.027 99.7)

  • #9DB0A4

    #9DB0A4

    oklch(73.9% 0.027 158)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA6B7

    #AFA6B7

    oklch(73.8% 0.026 309.3)

  • #B5A899

    #B5A899

    oklch(73.8% 0.026 71.4)

  • #98B0AD

    #98B0AD

    oklch(73.8% 0.027 187.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA6B7

    #AFA6B7

    oklch(73.8% 0.026 309.3)

  • #BAA59E

    #BAA59E

    oklch(73.8% 0.027 39.3)

  • #A5AE9D

    #A5AE9D

    oklch(73.9% 0.026 130)

  • #99AEB6

    #99AEB6

    oklch(73.7% 0.026 222.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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