#AFA0A4

Closest named color: Dark Gray (#A9A9A9). oklch(72% 0.018 359.5), rgb(175, 160, 164).

Aa

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

About this color

#AFA0A4 is a medium-light close to neutral grey. In OKLCH its lightness is 72%, its chroma 0.018. 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.38:1.

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

Values

HEX#AFA0A4
RGBrgb(175, 160, 164)
HSLhsl(344, 9%, 66%)
OKLCHoklch(72% 0.018 359.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 #AFA0A4 2.50:1 Fails Lc -54.2 Large or bold text, headings
Black text on #AFA0A4 8.38:1 AAA Lc 54.8 Large or bold text, headings
#AFA0A4 text on white 2.50:1 Fails Lc 49.2 Large or bold text, headings
#AFA0A4 text on black 8.38:1 AAA Lc -52.8 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

    #ECE9EA

    oklch(93.7% 0.003 354.7)

  3. Step 200

    200

    #DDD7D9

    oklch(88.4% 0.007 354.8)

  4. Step 300

    300

    #C7BEC0

    oklch(80.9% 0.01 2.1)

  5. Step 400

    400 (this color)

    #AFA0A4

    oklch(72% 0.018 359.5)

  6. Step 500

    500

    #968489

    oklch(63.1% 0.023 359.1)

  7. Step 600

    600

    #816D73

    oklch(55.6% 0.027 358)

  8. Step 700

    700

    #6D5B60

    oklch(49.1% 0.025 359.5)

  9. Step 800

    800

    #594B4F

    oklch(42.8% 0.02 358.9)

  10. Step 900

    900

    #493E41

    oklch(37.6% 0.016 359.6)

  11. Step 950

    950

    #2B2526

    oklch(27.2% 0.009 6.3)

Export this scale for Tailwind in the Tailwind colors tool

#AFA0A4 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)#A2A2A40.019
Deuteranopia (no green cones)#A5A5A40.019
Tritanopia (no blue cones)#B29FA10.006
Achromatopsia (no color)#A4A4A40.018

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA0A4

    #AFA0A4

    oklch(72% 0.018 359.5)

  • #99A9A5

    #99A9A5

    oklch(72.1% 0.019 179.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA0A4

    #AFA0A4

    oklch(72% 0.018 359.5)

  • #ABA1AA

    #ABA1AA

    oklch(72% 0.017 328.9)

  • #B0A19E

    #B0A19E

    oklch(72.1% 0.018 31.1)

Open the analogous palette in the generator

Split complementary

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

  • #AFA0A4

    #AFA0A4

    oklch(72% 0.018 359.5)

  • #9DA89E

    #9DA89E

    oklch(72% 0.019 148)

  • #98A8AB

    #98A8AB

    oklch(72% 0.019 210.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA0A4

    #AFA0A4

    oklch(72% 0.018 359.5)

  • #A3A69A

    #A3A69A

    oklch(71.9% 0.017 118.3)

  • #9BA6AF

    #9BA6AF

    oklch(71.9% 0.018 242.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA0A4

    #AFA0A4

    oklch(72% 0.018 359.5)

  • #A9A498

    #A9A498

    oklch(71.9% 0.018 88)

  • #99A9A5

    #99A9A5

    oklch(72.1% 0.019 179.1)

  • #A0A4B0

    #A0A4B0

    oklch(71.9% 0.018 271.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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