#AFA4B1

Closest named color: Dark Gray (#A9A9A9). oklch(73.2% 0.022 321), rgb(175, 164, 177).

Aa

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

About this color

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

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

Values

HEX#AFA4B1
RGBrgb(175, 164, 177)
HSLhsl(291, 8%, 67%)
OKLCHoklch(73.2% 0.022 321)

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 #AFA4B1 2.39:1 Fails Lc -52.2 Large or bold text, headings
Black text on #AFA4B1 8.76:1 AAA Lc 56.8 Large or bold text, headings
#AFA4B1 text on white 2.39:1 Fails Lc 47.2 Large or bold text, headings
#AFA4B1 text on black 8.76:1 AAA Lc -54.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

    #DBD7DC

    oklch(88.4% 0.008 319.4)

  4. Step 300

    300

    #C5BEC6

    oklch(81% 0.013 321.9)

  5. Step 400

    400 (this color)

    #AFA4B1

    oklch(73.2% 0.022 321)

  6. Step 500

    500

    #928494

    oklch(63.1% 0.029 322)

  7. Step 600

    600

    #7C6E7F

    oklch(55.7% 0.031 320.3)

  8. Step 700

    700

    #685C6B

    oklch(49.2% 0.028 319.5)

  9. Step 800

    800

    #554B57

    oklch(42.7% 0.023 320.6)

  10. Step 900

    900

    #463E48

    oklch(37.6% 0.02 319.5)

  11. Step 950

    950

    #29252A

    oklch(27.1% 0.011 319.5)

Export this scale for Tailwind in the Tailwind colors tool

#AFA4B1 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)#A3A7B20.018
Deuteranopia (no green cones)#A5A8B00.017
Tritanopia (no blue cones)#AFA5A80.014
Achromatopsia (no color)#A7A7A70.023

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA4B1

    #AFA4B1

    oklch(73.2% 0.022 321)

  • #A1AC9F

    #A1AC9F

    oklch(73.2% 0.022 140.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA4B1

    #AFA4B1

    oklch(73.2% 0.022 321)

  • #A8A6B6

    #A8A6B6

    oklch(73.2% 0.023 291.6)

  • #B4A3AA

    #B4A3AA

    oklch(73.2% 0.022 350.8)

Open the analogous palette in the generator

Split complementary

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

  • #AFA4B1

    #AFA4B1

    oklch(73.2% 0.022 321)

  • #A8AA9A

    #A8AA9A

    oklch(73.2% 0.023 112.7)

  • #9BADA6

    #9BADA6

    oklch(73.2% 0.022 170.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA4B1

    #AFA4B1

    oklch(73.2% 0.022 321)

  • #B0A799

    #B0A799

    oklch(73.2% 0.022 79.1)

  • #99ADAE

    #99ADAE

    oklch(73.3% 0.022 200.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA4B1

    #AFA4B1

    oklch(73.2% 0.022 321)

  • #B4A59C

    #B4A59C

    oklch(73.2% 0.022 53.1)

  • #A1AC9F

    #A1AC9F

    oklch(73.2% 0.022 140.9)

  • #9BABB4

    #9BABB4

    oklch(73.2% 0.022 232.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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