#AFA3A7

Closest named color: Dark Gray (#A9A9A9). oklch(72.7% 0.015 355.2), rgb(175, 163, 167).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessmedium-light (73%)
Chromaclose to neutral grey (0.015)
Temperatureneutral
Nearest nameDark Gray (#A9A9A9)
Black text8.61:1
White text2.43:1

Values

HEX#AFA3A7
RGBrgb(175, 163, 167)
HSLhsl(340, 7%, 66%)
OKLCHoklch(72.7% 0.015 355.2)

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 #AFA3A7 2.43:1 Fails Lc -53.0 Large or bold text, headings
Black text on #AFA3A7 8.61:1 AAA Lc 56.0 Large or bold text, headings
#AFA3A7 text on white 2.43:1 Fails Lc 48.0 Large or bold text, headings
#AFA3A7 text on black 8.61:1 AAA Lc -54.0 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

    #F6F5F5

    oklch(97.1% 0.001 17.2)

  2. Step 100

    100

    #EBE9EA

    oklch(93.6% 0.003 345.2)

  3. Step 200

    200

    #DCD8D9

    oklch(88.6% 0.005 0)

  4. Step 300

    300

    #C6BEC1

    oklch(80.9% 0.01 352.4)

  5. Step 400

    400 (this color)

    #AFA3A7

    oklch(72.7% 0.015 355.2)

  6. Step 500

    500

    #94858A

    oklch(63.2% 0.019 355.5)

  7. Step 600

    600

    #7E6E74

    oklch(55.5% 0.022 353.2)

  8. Step 700

    700

    #6A5C61

    oklch(49% 0.02 354.3)

  9. Step 800

    800

    #574B4F

    oklch(42.6% 0.017 355.7)

  10. Step 900

    900

    #473F42

    oklch(37.7% 0.012 353)

  11. Step 950

    950

    #2A2527

    oklch(27.1% 0.008 351.5)

Export this scale for Tailwind in the Tailwind colors tool

#AFA3A7 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)#A4A5A70.016
Deuteranopia (no green cones)#A7A7A70.015
Tritanopia (no blue cones)#B1A3A40.005
Achromatopsia (no color)#A6A6A60.015

Harmonies

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

This color is close to neutral, so it has no meaningful hue to rotate. Hue harmonies are omitted.

Palettes with this color

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

Similar named colors

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

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