#AFA8B8

Closest named color: Dark Gray (#A9A9A9). oklch(74.2% 0.024 305.5), rgb(175, 168, 184).

Aa

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

About this color

#AFA8B8 is a medium-light close to neutral grey. In OKLCH its lightness is 74%, 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 9.11:1.

Hue familyNeutrals
Lightnessmedium-light (74%)
Chromaclose to neutral grey (0.024)
Temperatureneutral
Nearest nameDark Gray (#A9A9A9)
Black text9.11:1
White text2.30:1

Values

HEX#AFA8B8
RGBrgb(175, 168, 184)
HSLhsl(266, 10%, 69%)
OKLCHoklch(74.2% 0.024 305.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 #AFA8B8 2.30:1 Fails Lc -50.3 Large or bold text, headings
Black text on #AFA8B8 9.11:1 AAA Lc 58.5 Large or bold text, headings
#AFA8B8 text on white 2.30:1 Fails Lc 45.4 Large or bold text, headings
#AFA8B8 text on black 9.11:1 AAA Lc -56.6 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

    #EAE9EC

    oklch(93.6% 0.004 301.4)

  3. Step 200

    200

    #DAD8DE

    oklch(88.6% 0.008 301.3)

  4. Step 300

    300

    #C3BEC8

    oklch(80.9% 0.015 308.3)

  5. Step 400

    400 (this color)

    #AFA8B8

    oklch(74.2% 0.024 305.5)

  6. Step 500

    500

    #8E8599

    oklch(63.1% 0.031 305.8)

  7. Step 600

    600

    #786F83

    oklch(55.7% 0.032 305.7)

  8. Step 700

    700

    #655C6F

    oklch(49% 0.032 306.6)

  9. Step 800

    800

    #524C5A

    oklch(42.8% 0.024 304.8)

  10. Step 900

    900

    #443F4A

    oklch(37.7% 0.02 306)

  11. Step 950

    950

    #28252B

    oklch(27% 0.012 308)

Export this scale for Tailwind in the Tailwind colors tool

#AFA8B8 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)#A6AAB90.013
Deuteranopia (no green cones)#A7ABB70.014
Tritanopia (no blue cones)#AEAAAD0.019
Achromatopsia (no color)#ABABAB0.024

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA8B8

    #AFA8B8

    oklch(74.2% 0.024 305.5)

  • #A8AF9E

    #A8AF9E

    oklch(74.4% 0.025 125.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA8B8

    #AFA8B8

    oklch(74.2% 0.024 305.5)

  • #A7ABBB

    #A7ABBB

    oklch(74.3% 0.023 274.6)

  • #B6A6B1

    #B6A6B1

    oklch(74.2% 0.024 337)

Open the analogous palette in the generator

Split complementary

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

  • #AFA8B8

    #AFA8B8

    oklch(74.2% 0.024 305.5)

  • #B0AC9B

    #B0AC9B

    oklch(74.3% 0.024 96.1)

  • #A0B0A5

    #A0B0A5

    oklch(74.1% 0.024 155.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA8B8

    #AFA8B8

    oklch(74.2% 0.024 305.5)

  • #B7A99C

    #B7A99C

    oklch(74.3% 0.025 65.3)

  • #9CB1AE

    #9CB1AE

    oklch(74.3% 0.024 186.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA8B8

    #AFA8B8

    oklch(74.2% 0.024 305.5)

  • #BAA7A1

    #BAA7A1

    oklch(74.3% 0.024 38.3)

  • #A8AF9E

    #A8AF9E

    oklch(74.4% 0.025 125.3)

  • #9BB0B5

    #9BB0B5

    oklch(74.3% 0.024 213.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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