#AFA1B2

Closest named color: Dark Gray (#A9A9A9). oklch(72.6% 0.029 320.3), rgb(175, 161, 178).

Aa

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

About this color

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

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

Values

HEX#AFA1B2
RGBrgb(175, 161, 178)
HSLhsl(289, 10%, 66%)
OKLCHoklch(72.6% 0.029 320.3)

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 #AFA1B2 2.45:1 Fails Lc -53.3 Large or bold text, headings
Black text on #AFA1B2 8.56:1 AAA Lc 55.8 Large or bold text, headings
#AFA1B2 text on white 2.45:1 Fails Lc 48.2 Large or bold text, headings
#AFA1B2 text on black 8.56:1 AAA Lc -53.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

    #F6F5F6

    oklch(97.1% 0.002 325.6)

  2. Step 100

    100

    #EBE9EC

    oklch(93.6% 0.005 314.8)

  3. Step 200

    200

    #DCD7DD

    oklch(88.5% 0.01 320.5)

  4. Step 300

    300

    #C6BDC8

    oklch(80.9% 0.018 320.1)

  5. Step 400

    400 (this color)

    #AFA1B2

    oklch(72.6% 0.029 320.3)

  6. Step 500

    500

    #948398

    oklch(63.2% 0.037 319.8)

  7. Step 600

    600

    #7E6C82

    oklch(55.6% 0.04 320.1)

  8. Step 700

    700

    #6A5A6E

    oklch(49% 0.037 319.5)

  9. Step 800

    800

    #574A5A

    oklch(42.8% 0.031 319.9)

  10. Step 900

    900

    #473E4A

    oklch(37.8% 0.023 317.7)

  11. Step 950

    950

    #2A242B

    oklch(27% 0.015 321.4)

Export this scale for Tailwind in the Tailwind colors tool

#AFA1B2 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)#A0A4B30.022
Deuteranopia (no green cones)#A2A6B10.022
Tritanopia (no blue cones)#AFA3A60.020
Achromatopsia (no color)#A5A5A50.029

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA1B2

    #AFA1B2

    oklch(72.6% 0.029 320.3)

  • #9DAB9A

    #9DAB9A

    oklch(72.5% 0.029 140.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA1B2

    #AFA1B2

    oklch(72.6% 0.029 320.3)

  • #A6A4B8

    #A6A4B8

    oklch(72.7% 0.029 290.3)

  • #B6A0A9

    #B6A0A9

    oklch(72.8% 0.029 351.2)

Open the analogous palette in the generator

Split complementary

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

  • #AFA1B2

    #AFA1B2

    oklch(72.6% 0.029 320.3)

  • #A7A894

    #A7A894

    oklch(72.5% 0.028 109.4)

  • #95ADA4

    #95ADA4

    oklch(72.7% 0.03 170.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA1B2

    #AFA1B2

    oklch(72.6% 0.029 320.3)

  • #B0A593

    #B0A593

    oklch(72.6% 0.028 80.2)

  • #92ACAE

    #92ACAE

    oklch(72.5% 0.029 202.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA1B2

    #AFA1B2

    oklch(72.6% 0.029 320.3)

  • #B6A297

    #B6A297

    oklch(72.7% 0.028 50.7)

  • #9DAB9A

    #9DAB9A

    oklch(72.5% 0.029 140.2)

  • #95AAB5

    #95AAB5

    oklch(72.5% 0.028 230.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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