#AFA8BA

Closest named color: Dark Gray (#A9A9A9). oklch(74.3% 0.027 303.4), rgb(175, 168, 186).

Aa

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

About this color

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

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

Values

HEX#AFA8BA
RGBrgb(175, 168, 186)
HSLhsl(263, 12%, 69%)
OKLCHoklch(74.3% 0.027 303.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 #AFA8BA 2.29:1 Fails Lc -50.2 Large or bold text, headings
Black text on #AFA8BA 9.13:1 AAA Lc 58.6 Large or bold text, headings
#AFA8BA text on white 2.29:1 Fails Lc 45.4 Large or bold text, headings
#AFA8BA text on black 9.13:1 AAA Lc -56.7 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

    #EAE9EC

    oklch(93.6% 0.004 301.4)

  3. Step 200

    200

    #DAD8DE

    oklch(88.6% 0.008 301.3)

  4. Step 300

    300

    #C3BECA

    oklch(80.9% 0.017 304.7)

  5. Step 400

    400 (this color)

    #AFA8BA

    oklch(74.3% 0.027 303.4)

  6. Step 500

    500

    #8D859B

    oklch(63.1% 0.034 302)

  7. Step 600

    600

    #786E86

    oklch(55.6% 0.038 304.1)

  8. Step 700

    700

    #655C71

    oklch(49.1% 0.035 304.6)

  9. Step 800

    800

    #524B5C

    oklch(42.6% 0.029 303.9)

  10. Step 900

    900

    #443F4B

    oklch(37.7% 0.021 304.3)

  11. Step 950

    950

    #28252C

    oklch(27.1% 0.013 304.9)

Export this scale for Tailwind in the Tailwind colors tool

#AFA8BA 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)#A5ABBB0.015
Deuteranopia (no green cones)#A6ABB90.015
Tritanopia (no blue cones)#ADAAAE0.020
Achromatopsia (no color)#ABABAB0.027

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA8BA

    #AFA8BA

    oklch(74.3% 0.027 303.4)

  • #A8AF9D

    #A8AF9D

    oklch(74.3% 0.026 124.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA8BA

    #AFA8BA

    oklch(74.3% 0.027 303.4)

  • #A6ABBD

    #A6ABBD

    oklch(74.3% 0.026 273.4)

  • #B7A6B3

    #B7A6B3

    oklch(74.4% 0.027 333.9)

Open the analogous palette in the generator

Split complementary

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

  • #AFA8BA

    #AFA8BA

    oklch(74.3% 0.027 303.4)

  • #B1AC99

    #B1AC99

    oklch(74.3% 0.027 94.8)

  • #A0B1A4

    #A0B1A4

    oklch(74.3% 0.026 152.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA8BA

    #AFA8BA

    oklch(74.3% 0.027 303.4)

  • #B8A99B

    #B8A99B

    oklch(74.4% 0.026 65.5)

  • #9AB2AD

    #9AB2AD

    oklch(74.4% 0.027 181.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA8BA

    #AFA8BA

    oklch(74.3% 0.027 303.4)

  • #BCA6A1

    #BCA6A1

    oklch(74.3% 0.027 32.9)

  • #A8AF9D

    #A8AF9D

    oklch(74.3% 0.026 124.4)

  • #99B1B6

    #99B1B6

    oklch(74.4% 0.027 211.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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