#AFA1AB

Closest named color: Dark Gray (#A9A9A9). oklch(72.4% 0.021 335.8), rgb(175, 161, 171).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessmedium-light (72%)
Chromaclose to neutral grey (0.021)
Temperatureneutral
Nearest nameDark Gray (#A9A9A9)
Black text8.50:1
White text2.46:1

Values

HEX#AFA1AB
RGBrgb(175, 161, 171)
HSLhsl(317, 8%, 66%)
OKLCHoklch(72.4% 0.021 335.8)

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 #AFA1AB 2.46:1 Fails Lc -53.6 Large or bold text, headings
Black text on #AFA1AB 8.50:1 AAA Lc 55.5 Large or bold text, headings
#AFA1AB text on white 2.46:1 Fails Lc 48.5 Large or bold text, headings
#AFA1AB text on black 8.50:1 AAA Lc -53.5 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

    #EBE9EB

    oklch(93.6% 0.003 325.6)

  3. Step 200

    200

    #DCD7DB

    oklch(88.4% 0.008 332.1)

  4. Step 300

    300

    #C6BDC4

    oklch(80.8% 0.014 333.1)

  5. Step 400

    400 (this color)

    #AFA1AB

    oklch(72.4% 0.021 335.8)

  6. Step 500

    500

    #958390

    oklch(63% 0.029 335.8)

  7. Step 600

    600

    #7F6D7A

    oklch(55.6% 0.03 335.9)

  8. Step 700

    700

    #6B5B67

    oklch(49.1% 0.028 334.8)

  9. Step 800

    800

    #574A54

    oklch(42.6% 0.024 334)

  10. Step 900

    900

    #483E45

    oklch(37.7% 0.018 336.7)

  11. Step 950

    950

    #2A2429

    oklch(26.9% 0.013 331.4)

Export this scale for Tailwind in the Tailwind colors tool

#AFA1AB 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)#A1A4AB0.021
Deuteranopia (no green cones)#A4A6AB0.020
Tritanopia (no blue cones)#B1A1A40.010
Achromatopsia (no color)#A5A5A50.022

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA1AB

    #AFA1AB

    oklch(72.4% 0.021 335.8)

  • #9CAAA0

    #9CAAA0

    oklch(72.4% 0.021 154.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA1AB

    #AFA1AB

    oklch(72.4% 0.021 335.8)

  • #A9A3B1

    #A9A3B1

    oklch(72.5% 0.021 305.2)

  • #B3A1A4

    #B3A1A4

    oklch(72.5% 0.021 6.2)

Open the analogous palette in the generator

Split complementary

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

  • #AFA1AB

    #AFA1AB

    oklch(72.4% 0.021 335.8)

  • #A2A89A

    #A2A89A

    oklch(72.3% 0.021 125.9)

  • #98AAA8

    #98AAA8

    oklch(72.3% 0.02 188.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA1AB

    #AFA1AB

    oklch(72.4% 0.021 335.8)

  • #AAA697

    #AAA697

    oklch(72.4% 0.022 94.6)

  • #97AAAE

    #97AAAE

    oklch(72.5% 0.022 211.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA1AB

    #AFA1AB

    oklch(72.4% 0.021 335.8)

  • #B0A398

    #B0A398

    oklch(72.3% 0.022 62.7)

  • #9CAAA0

    #9CAAA0

    oklch(72.4% 0.021 154.7)

  • #9BA8B3

    #9BA8B3

    oklch(72.5% 0.022 243.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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