#AFA2A1

Closest named color: Dark Gray (#A9A9A9). oklch(72.3% 0.015 22.8), rgb(175, 162, 161).

Aa

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

About this color

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

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

Values

HEX#AFA2A1
RGBrgb(175, 162, 161)
HSLhsl(4, 8%, 66%)
OKLCHoklch(72.3% 0.015 22.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 #AFA2A1 2.46:1 Fails Lc -53.6 Large or bold text, headings
Black text on #AFA2A1 8.50:1 AAA Lc 55.5 Large or bold text, headings
#AFA2A1 text on white 2.46:1 Fails Lc 48.6 Large or bold text, headings
#AFA2A1 text on black 8.50:1 AAA Lc -53.4 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

    #ECE9E9

    oklch(93.6% 0.003 17.2)

  3. Step 200

    200

    #DDD8D7

    oklch(88.6% 0.006 31.1)

  4. Step 300

    300

    #C7BEBE

    oklch(80.9% 0.01 17.4)

  5. Step 400

    400 (this color)

    #AFA2A1

    oklch(72.3% 0.015 22.8)

  6. Step 500

    500

    #958584

    oklch(63.1% 0.02 22)

  7. Step 600

    600

    #7F6F6D

    oklch(55.6% 0.02 26.3)

  8. Step 700

    700

    #6C5D5B

    oklch(49.2% 0.02 26.8)

  9. Step 800

    800

    #584C4B

    oklch(42.8% 0.016 23.5)

  10. Step 900

    900

    #483F3E

    oklch(37.7% 0.013 25.3)

  11. Step 950

    950

    #2A2525

    oklch(27% 0.008 17.6)

Export this scale for Tailwind in the Tailwind colors tool

#AFA2A1 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)#A4A3A10.016
Deuteranopia (no green cones)#A7A6A10.015
Tritanopia (no blue cones)#B2A1A20.006
Achromatopsia (no color)#A5A5A50.015

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA2A1

    #AFA2A1

    oklch(72.3% 0.015 22.8)

  • #9BA9AA

    #9BA9AA

    oklch(72.4% 0.016 202)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA2A1

    #AFA2A1

    oklch(72.3% 0.015 22.8)

  • #AEA2A6

    #AEA2A6

    oklch(72.4% 0.015 355.2)

  • #AEA39D

    #AEA39D

    oklch(72.3% 0.015 50.7)

Open the analogous palette in the generator

Split complementary

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

  • #AFA2A1

    #AFA2A1

    oklch(72.3% 0.015 22.8)

  • #9CA9A4

    #9CA9A4

    oklch(72.3% 0.016 170.9)

  • #9DA7AE

    #9DA7AE

    oklch(72.3% 0.015 238.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA2A1

    #AFA2A1

    oklch(72.3% 0.015 22.8)

  • #A0A89F

    #A0A89F

    oklch(72.3% 0.016 142.2)

  • #A0A6AF

    #A0A6AF

    oklch(72.3% 0.015 258.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA2A1

    #AFA2A1

    oklch(72.3% 0.015 22.8)

  • #A5A79C

    #A5A79C

    oklch(72.4% 0.016 115.2)

  • #9BA9AA

    #9BA9AA

    oklch(72.4% 0.016 202)

  • #A5A4AF

    #A5A4AF

    oklch(72.3% 0.016 290.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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