#AFA5B3

Closest named color: Dark Gray (#A9A9A9). oklch(73.5% 0.023 316.4), rgb(175, 165, 179).

Aa

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

About this color

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

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

Values

HEX#AFA5B3
RGBrgb(175, 165, 179)
HSLhsl(283, 8%, 67%)
OKLCHoklch(73.5% 0.023 316.4)

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 #AFA5B3 2.37:1 Fails Lc -51.7 Large or bold text, headings
Black text on #AFA5B3 8.85:1 AAA Lc 57.2 Large or bold text, headings
#AFA5B3 text on white 2.37:1 Fails Lc 46.8 Large or bold text, headings
#AFA5B3 text on black 8.85:1 AAA Lc -55.3 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

    #EBE9EC

    oklch(93.6% 0.005 314.8)

  3. Step 200

    200

    #DBD7DD

    oklch(88.4% 0.009 314.8)

  4. Step 300

    300

    #C4BEC7

    oklch(80.9% 0.014 314.7)

  5. Step 400

    400 (this color)

    #AFA5B3

    oklch(73.5% 0.023 316.4)

  6. Step 500

    500

    #918496

    oklch(63.1% 0.031 316.7)

  7. Step 600

    600

    #7B6E80

    oklch(55.6% 0.031 316.7)

  8. Step 700

    700

    #685C6C

    oklch(49.2% 0.029 317.7)

  9. Step 800

    800

    #544B58

    oklch(42.6% 0.024 315.5)

  10. Step 900

    900

    #463F48

    oklch(37.8% 0.018 318.7)

  11. Step 950

    950

    #29252A

    oklch(27.1% 0.011 319.5)

Export this scale for Tailwind in the Tailwind colors tool

#AFA5B3 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)#A4A8B40.016
Deuteranopia (no green cones)#A5A9B20.017
Tritanopia (no blue cones)#AFA6A90.016
Achromatopsia (no color)#A8A8A80.023

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA5B3

    #AFA5B3

    oklch(73.5% 0.023 316.4)

  • #A3AD9F

    #A3AD9F

    oklch(73.6% 0.023 136.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA5B3

    #AFA5B3

    oklch(73.5% 0.023 316.4)

  • #A8A7B7

    #A8A7B7

    oklch(73.4% 0.023 288.7)

  • #B5A4AC

    #B5A4AC

    oklch(73.6% 0.023 347.5)

Open the analogous palette in the generator

Split complementary

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

  • #AFA5B3

    #AFA5B3

    oklch(73.5% 0.023 316.4)

  • #ABAA9A

    #ABAA9A

    oklch(73.4% 0.023 104)

  • #9CAEA6

    #9CAEA6

    oklch(73.4% 0.023 167.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA5B3

    #AFA5B3

    oklch(73.5% 0.023 316.4)

  • #B2A89A

    #B2A89A

    oklch(73.6% 0.023 76.5)

  • #99AEAE

    #99AEAE

    oklch(73.5% 0.023 196.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA5B3

    #AFA5B3

    oklch(73.5% 0.023 316.4)

  • #B6A59D

    #B6A59D

    oklch(73.4% 0.023 46.9)

  • #A3AD9F

    #A3AD9F

    oklch(73.6% 0.023 136.6)

  • #9BACB4

    #9BACB4

    oklch(73.4% 0.022 227.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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