#AFA5B8

Closest named color: Dark Gray (#A9A9A9). oklch(73.6% 0.029 309.1), rgb(175, 165, 184).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessmedium-light (74%)
Chromaclose to neutral grey (0.029)
Temperatureneutral
Nearest nameDark Gray (#A9A9A9)
Black text8.89:1
White text2.36:1

Values

HEX#AFA5B8
RGBrgb(175, 165, 184)
HSLhsl(272, 12%, 68%)
OKLCHoklch(73.6% 0.029 309.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 #AFA5B8 2.36:1 Fails Lc -51.5 Large or bold text, headings
Black text on #AFA5B8 8.89:1 AAA Lc 57.4 Large or bold text, headings
#AFA5B8 text on white 2.36:1 Fails Lc 46.5 Large or bold text, headings
#AFA5B8 text on black 8.89:1 AAA Lc -55.5 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

    #F6F5F7

    oklch(97.1% 0.003 308.4)

  2. Step 100

    100

    #EBE9EC

    oklch(93.6% 0.005 314.8)

  3. Step 200

    200

    #DBD7DE

    oklch(88.4% 0.01 311.2)

  4. Step 300

    300

    #C4BECA

    oklch(81% 0.018 308.2)

  5. Step 400

    400 (this color)

    #AFA5B8

    oklch(73.6% 0.029 309.1)

  6. Step 500

    500

    #90849B

    oklch(63.2% 0.037 308.7)

  7. Step 600

    600

    #7A6D86

    oklch(55.6% 0.041 308.5)

  8. Step 700

    700

    #675B71

    oklch(49.1% 0.037 309.5)

  9. Step 800

    800

    #544A5C

    oklch(42.6% 0.032 310)

  10. Step 900

    900

    #453E4C

    oklch(37.6% 0.025 307.7)

  11. Step 950

    950

    #29242C

    oklch(26.9% 0.016 312.9)

Export this scale for Tailwind in the Tailwind colors tool

#AFA5B8 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)#A2A8B90.019
Deuteranopia (no green cones)#A4A9B70.018
Tritanopia (no blue cones)#AEA7AB0.022
Achromatopsia (no color)#A9A9A90.029

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA5B8

    #AFA5B8

    oklch(73.6% 0.029 309.1)

  • #A4AE9A

    #A4AE9A

    oklch(73.7% 0.03 128.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA5B8

    #AFA5B8

    oklch(73.6% 0.029 309.1)

  • #A5A8BC

    #A5A8BC

    oklch(73.6% 0.029 278.9)

  • #B7A3B0

    #B7A3B0

    oklch(73.7% 0.029 338.8)

Open the analogous palette in the generator

Split complementary

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

  • #AFA5B8

    #AFA5B8

    oklch(73.6% 0.029 309.1)

  • #AEAA96

    #AEAA96

    oklch(73.6% 0.028 97.7)

  • #9BB0A3

    #9BB0A3

    oklch(73.7% 0.03 158.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA5B8

    #AFA5B8

    oklch(73.6% 0.029 309.1)

  • #B6A796

    #B6A796

    oklch(73.6% 0.03 70.8)

  • #96B0AD

    #96B0AD

    oklch(73.7% 0.029 188)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA5B8

    #AFA5B8

    oklch(73.6% 0.029 309.1)

  • #BBA49C

    #BBA49C

    oklch(73.7% 0.029 40.2)

  • #A4AE9A

    #A4AE9A

    oklch(73.7% 0.03 128.9)

  • #96AEB6

    #96AEB6

    oklch(73.5% 0.029 219.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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