#AFA2AB

Closest named color: Dark Gray (#A9A9A9). oklch(72.6% 0.02 336.7), rgb(175, 162, 171).

Aa

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

About this color

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

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

Values

HEX#AFA2AB
RGBrgb(175, 162, 171)
HSLhsl(318, 8%, 66%)
OKLCHoklch(72.6% 0.02 336.7)

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 #AFA2AB 2.44:1 Fails Lc -53.2 Large or bold text, headings
Black text on #AFA2AB 8.57:1 AAA Lc 55.8 Large or bold text, headings
#AFA2AB text on white 2.44:1 Fails Lc 48.2 Large or bold text, headings
#AFA2AB text on black 8.57:1 AAA Lc -53.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

    #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

    #C6BEC3

    oklch(81% 0.011 339.4)

  5. Step 400

    400 (this color)

    #AFA2AB

    oklch(72.6% 0.02 336.7)

  6. Step 500

    500

    #94848F

    oklch(63.1% 0.025 337.1)

  7. Step 600

    600

    #7E6D79

    oklch(55.5% 0.028 336.5)

  8. Step 700

    700

    #6B5B66

    oklch(49.1% 0.027 337.4)

  9. Step 800

    800

    #574B53

    oklch(42.8% 0.02 338.2)

  10. Step 900

    900

    #483E45

    oklch(37.7% 0.018 336.7)

  11. Step 950

    950

    #2A2528

    oklch(27.1% 0.009 341)

Export this scale for Tailwind in the Tailwind colors tool

#AFA2AB 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)#A2A4AB0.019
Deuteranopia (no green cones)#A5A6AB0.017
Tritanopia (no blue cones)#B1A2A50.009
Achromatopsia (no color)#A6A6A60.020

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA2AB

    #AFA2AB

    oklch(72.6% 0.02 336.7)

  • #9DAAA1

    #9DAAA1

    oklch(72.5% 0.019 155.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA2AB

    #AFA2AB

    oklch(72.6% 0.02 336.7)

  • #A9A3B0

    #A9A3B0

    oklch(72.5% 0.02 306.6)

  • #B2A2A4

    #B2A2A4

    oklch(72.7% 0.019 9)

Open the analogous palette in the generator

Split complementary

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

  • #AFA2AB

    #AFA2AB

    oklch(72.6% 0.02 336.7)

  • #A3A99C

    #A3A99C

    oklch(72.6% 0.02 127.2)

  • #99ABA8

    #99ABA8

    oklch(72.6% 0.021 184.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA2AB

    #AFA2AB

    oklch(72.6% 0.02 336.7)

  • #AAA799

    #AAA799

    oklch(72.7% 0.02 97)

  • #99AAAE

    #99AAAE

    oklch(72.6% 0.02 213.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA2AB

    #AFA2AB

    oklch(72.6% 0.02 336.7)

  • #AFA49A

    #AFA49A

    oklch(72.5% 0.019 64.8)

  • #9DAAA1

    #9DAAA1

    oklch(72.5% 0.019 155.7)

  • #9DA8B2

    #9DA8B2

    oklch(72.6% 0.019 245.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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