#AF9FA8

Closest named color: Dark Gray (#A9A9A9). oklch(71.9% 0.022 342.7), rgb(175, 159, 168).

Aa

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

About this color

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

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

Values

HEX#AF9FA8
RGBrgb(175, 159, 168)
HSLhsl(326, 9%, 65%)
OKLCHoklch(71.9% 0.022 342.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 #AF9FA8 2.51:1 Fails Lc -54.5 Large or bold text, headings
Black text on #AF9FA8 8.34:1 AAA Lc 54.6 Large or bold text, headings
#AF9FA8 text on white 2.51:1 Fails Lc 49.4 Large or bold text, headings
#AF9FA8 text on black 8.34:1 AAA Lc -52.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

    #ECE9EA

    oklch(93.7% 0.003 354.7)

  3. Step 200

    200

    #DDD7DA

    oklch(88.5% 0.008 345.4)

  4. Step 300

    300

    #C8BDC3

    oklch(80.9% 0.015 343.3)

  5. Step 400

    400 (this color)

    #AF9FA8

    oklch(71.9% 0.022 342.7)

  6. Step 500

    500

    #97838E

    oklch(63.2% 0.029 343.7)

  7. Step 600

    600

    #816C78

    oklch(55.5% 0.032 342.9)

  8. Step 700

    700

    #6D5A65

    oklch(49% 0.03 342.6)

  9. Step 800

    800

    #594A52

    oklch(42.7% 0.024 344.8)

  10. Step 900

    900

    #493E44

    oklch(37.7% 0.018 344)

  11. Step 950

    950

    #2B2428

    oklch(27% 0.013 342.7)

Export this scale for Tailwind in the Tailwind colors tool

#AF9FA8 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)#A0A2A80.022
Deuteranopia (no green cones)#A3A4A80.021
Tritanopia (no blue cones)#B19FA20.009
Achromatopsia (no color)#A3A3A30.023

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF9FA8

    #AF9FA8

    oklch(71.9% 0.022 342.7)

  • #98A9A0

    #98A9A0

    oklch(71.9% 0.023 162.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF9FA8

    #AF9FA8

    oklch(71.9% 0.022 342.7)

  • #A9A0AF

    #A9A0AF

    oklch(71.8% 0.024 312.1)

  • #B29FA0

    #B29FA0

    oklch(71.9% 0.022 14)

Open the analogous palette in the generator

Split complementary

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

  • #AF9FA8

    #AF9FA8

    oklch(71.9% 0.022 342.7)

  • #9FA899

    #9FA899

    oklch(72% 0.024 132.6)

  • #95A9A8

    #95A9A8

    oklch(71.9% 0.022 193)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF9FA8

    #AF9FA8

    oklch(71.9% 0.022 342.7)

  • #A7A595

    #A7A595

    oklch(71.9% 0.023 101.1)

  • #96A8AF

    #96A8AF

    oklch(72% 0.023 223.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF9FA8

    #AF9FA8

    oklch(71.9% 0.022 342.7)

  • #ADA295

    #ADA295

    oklch(71.8% 0.022 72.1)

  • #98A9A0

    #98A9A0

    oklch(71.9% 0.023 162.8)

  • #9BA5B2

    #9BA5B2

    oklch(71.8% 0.022 255)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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