#AFA2AF

Closest named color: Dark Gray (#A9A9A9). oklch(72.7% 0.024 325.8), rgb(175, 162, 175).

Aa

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

About this color

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

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

Values

HEX#AFA2AF
RGBrgb(175, 162, 175)
HSLhsl(300, 8%, 66%)
OKLCHoklch(72.7% 0.024 325.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 #AFA2AF 2.43:1 Fails Lc -53.0 Large or bold text, headings
Black text on #AFA2AF 8.60:1 AAA Lc 56.0 Large or bold text, headings
#AFA2AF text on white 2.43:1 Fails Lc 48.0 Large or bold text, headings
#AFA2AF text on black 8.60: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

    #F6F5F6

    oklch(97.1% 0.002 325.6)

  2. Step 100

    100

    #EBE9EB

    oklch(93.6% 0.003 325.6)

  3. Step 200

    200

    #DCD7DC

    oklch(88.5% 0.009 325.6)

  4. Step 300

    300

    #C6BDC6

    oklch(80.8% 0.016 325.7)

  5. Step 400

    400 (this color)

    #AFA2AF

    oklch(72.7% 0.024 325.8)

  6. Step 500

    500

    #938393

    oklch(63% 0.03 325.9)

  7. Step 600

    600

    #7E6D7E

    oklch(55.6% 0.033 326)

  8. Step 700

    700

    #6A5B6A

    oklch(49.1% 0.03 326)

  9. Step 800

    800

    #564A57

    oklch(42.6% 0.026 323.6)

  10. Step 900

    900

    #473E47

    oklch(37.6% 0.019 326)

  11. Step 950

    950

    #2A242A

    oklch(26.9% 0.014 326)

Export this scale for Tailwind in the Tailwind colors tool

#AFA2AF 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)#A1A5B00.020
Deuteranopia (no green cones)#A4A6AE0.019
Tritanopia (no blue cones)#B0A3A60.014
Achromatopsia (no color)#A6A6A60.024

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA2AF

    #AFA2AF

    oklch(72.7% 0.024 325.8)

  • #9EAB9E

    #9EAB9E

    oklch(72.7% 0.024 145.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA2AF

    #AFA2AF

    oklch(72.7% 0.024 325.8)

  • #A8A4B4

    #A8A4B4

    oklch(72.7% 0.023 297.3)

  • #B4A1A7

    #B4A1A7

    oklch(72.7% 0.024 356.6)

Open the analogous palette in the generator

Split complementary

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

  • #AFA2AF

    #AFA2AF

    oklch(72.7% 0.024 325.8)

  • #A6A998

    #A6A998

    oklch(72.8% 0.024 115.1)

  • #98ACA6

    #98ACA6

    oklch(72.7% 0.024 175.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA2AF

    #AFA2AF

    oklch(72.7% 0.024 325.8)

  • #ADA696

    #ADA696

    oklch(72.7% 0.024 87.2)

  • #96ABAE

    #96ABAE

    oklch(72.6% 0.024 207.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA2AF

    #AFA2AF

    oklch(72.7% 0.024 325.8)

  • #B3A399

    #B3A399

    oklch(72.6% 0.024 54.2)

  • #9EAB9E

    #9EAB9E

    oklch(72.7% 0.024 145.3)

  • #99AAB4

    #99AAB4

    oklch(72.8% 0.024 233.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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