#AFA7B5

Closest named color: Dark Gray (#A9A9A9). oklch(73.9% 0.022 311), rgb(175, 167, 181).

Aa

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

About this color

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

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

Values

HEX#AFA7B5
RGBrgb(175, 167, 181)
HSLhsl(274, 9%, 68%)
OKLCHoklch(73.9% 0.022 311)

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 #AFA7B5 2.32:1 Fails Lc -50.9 Large or bold text, headings
Black text on #AFA7B5 9.01:1 AAA Lc 58.0 Large or bold text, headings
#AFA7B5 text on white 2.32:1 Fails Lc 45.9 Large or bold text, headings
#AFA7B5 text on black 9.01:1 AAA Lc -56.1 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

    #DBD8DD

    oklch(88.6% 0.007 312.3)

  4. Step 300

    300

    #C3BEC7

    oklch(80.8% 0.014 310.5)

  5. Step 400

    400 (this color)

    #AFA7B5

    oklch(73.9% 0.022 311)

  6. Step 500

    500

    #8F8596

    oklch(63.1% 0.028 311.6)

  7. Step 600

    600

    #796F81

    oklch(55.7% 0.03 310.2)

  8. Step 700

    700

    #665C6D

    oklch(49% 0.029 311.4)

  9. Step 800

    800

    #534C59

    oklch(42.8% 0.023 309.5)

  10. Step 900

    900

    #453F49

    oklch(37.7% 0.019 312)

  11. Step 950

    950

    #28252B

    oklch(27% 0.012 308)

Export this scale for Tailwind in the Tailwind colors tool

#AFA7B5 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)#A5A9B60.014
Deuteranopia (no green cones)#A7AAB40.014
Tritanopia (no blue cones)#AEA9AB0.017
Achromatopsia (no color)#AAAAAA0.022

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA7B5

    #AFA7B5

    oklch(73.9% 0.022 311)

  • #A6AEA0

    #A6AEA0

    oklch(74% 0.022 131.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA7B5

    #AFA7B5

    oklch(73.9% 0.022 311)

  • #A8A9B9

    #A8A9B9

    oklch(73.9% 0.023 283)

  • #B5A6AF

    #B5A6AF

    oklch(74.1% 0.021 340.9)

Open the analogous palette in the generator

Split complementary

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

  • #AFA7B5

    #AFA7B5

    oklch(73.9% 0.022 311)

  • #ADAB9C

    #ADAB9C

    oklch(73.9% 0.021 100.7)

  • #9FAFA6

    #9FAFA6

    oklch(73.9% 0.022 161.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA7B5

    #AFA7B5

    oklch(73.9% 0.022 311)

  • #B4A99C

    #B4A99C

    oklch(74% 0.022 72.1)

  • #9CAFAE

    #9CAFAE

    oklch(73.9% 0.021 192.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA7B5

    #AFA7B5

    oklch(73.9% 0.022 311)

  • #B7A6A0

    #B7A6A0

    oklch(73.8% 0.022 40.5)

  • #A6AEA0

    #A6AEA0

    oklch(74% 0.022 131.5)

  • #9CAEB4

    #9CAEB4

    oklch(73.9% 0.022 219.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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