#AF9CA7

Closest named color: Dark Gray (#A9A9A9). oklch(71.3% 0.027 342.1), rgb(175, 156, 167).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessmedium-light (71%)
Chromaclose to neutral grey (0.027)
Temperatureneutral
Nearest nameDark Gray (#A9A9A9)
Black text8.13:1
White text2.58:1

Values

HEX#AF9CA7
RGBrgb(175, 156, 167)
HSLhsl(325, 11%, 65%)
OKLCHoklch(71.3% 0.027 342.1)

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 #AF9CA7 2.58:1 Fails Lc -55.6 Large or bold text, headings
Black text on #AF9CA7 8.13:1 AAA Lc 53.5 Large or bold text, headings
#AF9CA7 text on white 2.58:1 Fails Lc 50.5 Large or bold text, headings
#AF9CA7 text on black 8.13:1 AAA Lc -51.4 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

    #ECE9EB

    oklch(93.7% 0.004 337.4)

  3. Step 200

    200

    #DED7DB

    oklch(88.6% 0.009 341.8)

  4. Step 300

    300

    #C9BCC4

    oklch(80.8% 0.018 340)

  5. Step 400

    400 (this color)

    #AF9CA7

    oklch(71.3% 0.027 342.1)

  6. Step 500

    500

    #99828F

    oklch(63.2% 0.034 343.1)

  7. Step 600

    600

    #836B79

    oklch(55.6% 0.037 342.5)

  8. Step 700

    700

    #6F5966

    oklch(49% 0.035 342.2)

  9. Step 800

    800

    #5B4953

    oklch(42.7% 0.029 343.9)

  10. Step 900

    900

    #4A3D45

    oklch(37.7% 0.022 340.8)

  11. Step 950

    950

    #2C2428

    oklch(27.1% 0.014 346.4)

Export this scale for Tailwind in the Tailwind colors tool

#AF9CA7 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)#9D9FA70.027
Deuteranopia (no green cones)#A1A2A60.025
Tritanopia (no blue cones)#B29CA00.011
Achromatopsia (no color)#A1A1A10.027

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF9CA7

    #AF9CA7

    oklch(71.3% 0.027 342.1)

  • #94A89D

    #94A89D

    oklch(71.3% 0.027 161.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF9CA7

    #AF9CA7

    oklch(71.3% 0.027 342.1)

  • #A89EAF

    #A89EAF

    oklch(71.3% 0.027 311.6)

  • #B39C9E

    #B39C9E

    oklch(71.4% 0.027 11.8)

Open the analogous palette in the generator

Split complementary

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

  • #AF9CA7

    #AF9CA7

    oklch(71.3% 0.027 342.1)

  • #9CA695

    #9CA695

    oklch(71.2% 0.027 132.2)

  • #90A8A7

    #90A8A7

    oklch(71.3% 0.027 193.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF9CA7

    #AF9CA7

    oklch(71.3% 0.027 342.1)

  • #A5A390

    #A5A390

    oklch(71.2% 0.027 102.1)

  • #91A7AF

    #91A7AF

    oklch(71.4% 0.027 221.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF9CA7

    #AF9CA7

    oklch(71.3% 0.027 342.1)

  • #ADA090

    #ADA090

    oklch(71.2% 0.027 73.1)

  • #94A89D

    #94A89D

    oklch(71.3% 0.027 161.6)

  • #97A4B3

    #97A4B3

    oklch(71.3% 0.026 252)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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