#AFA2A2

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

Aa

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

About this color

#AFA2A2 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.51:1.

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

Values

HEX#AFA2A2
RGBrgb(175, 162, 162)
HSLhsl(0, 8%, 66%)
OKLCHoklch(72.3% 0.015 17.5)

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

    #F6F5F5

    oklch(97.1% 0.001 17.2)

  2. Step 100

    100

    #ECE9E9

    oklch(93.6% 0.003 17.2)

  3. Step 200

    200

    #DCD8D8

    oklch(88.5% 0.004 17.2)

  4. Step 300

    300

    #C7BEBE

    oklch(80.9% 0.01 17.4)

  5. Step 400

    400 (this color)

    #AFA2A2

    oklch(72.3% 0.015 17.5)

  6. Step 500

    500

    #958585

    oklch(63.1% 0.019 17.7)

  7. Step 600

    600

    #7F6F6F

    oklch(55.7% 0.02 17.8)

  8. Step 700

    700

    #6C5C5D

    oklch(49.1% 0.021 13.6)

  9. Step 800

    800

    #584C4C

    oklch(42.9% 0.016 17.8)

  10. Step 900

    900

    #483F3F

    oklch(37.7% 0.012 17.7)

  11. Step 950

    950

    #2A2525

    oklch(27% 0.008 17.6)

Export this scale for Tailwind in the Tailwind colors tool

#AFA2A2 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)#A4A4A20.016
Deuteranopia (no green cones)#A7A6A20.015
Tritanopia (no blue cones)#B2A1A20.005
Achromatopsia (no color)#A5A5A50.015

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA2A2

    #AFA2A2

    oklch(72.3% 0.015 17.5)

  • #9BA9A9

    #9BA9A9

    oklch(72.4% 0.016 196.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA2A2

    #AFA2A2

    oklch(72.3% 0.015 17.5)

  • #ADA2A7

    #ADA2A7

    oklch(72.3% 0.015 348.1)

  • #AEA39E

    #AEA39E

    oklch(72.3% 0.015 46.2)

Open the analogous palette in the generator

Split complementary

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

  • #AFA2A2

    #AFA2A2

    oklch(72.3% 0.015 17.5)

  • #9DA9A4

    #9DA9A4

    oklch(72.4% 0.015 169.1)

  • #9CA8AD

    #9CA8AD

    oklch(72.4% 0.015 224.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA2A2

    #AFA2A2

    oklch(72.3% 0.015 17.5)

  • #A1A89F

    #A1A89F

    oklch(72.3% 0.015 138.7)

  • #A0A6AF

    #A0A6AF

    oklch(72.3% 0.015 258.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA2A2

    #AFA2A2

    oklch(72.3% 0.015 17.5)

  • #A6A69C

    #A6A69C

    oklch(72.2% 0.014 106.7)

  • #9BA9A9

    #9BA9A9

    oklch(72.4% 0.016 196.8)

  • #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 #AFA2A2, closest first.

Similar named colors

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

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