#AFA2B4

Closest named color: Dark Gray (#A9A9A9). oklch(72.9% 0.029 316.7), rgb(175, 162, 180).

Aa

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

About this color

#AFA2B4 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.64:1.

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

Values

HEX#AFA2B4
RGBrgb(175, 162, 180)
HSLhsl(283, 11%, 67%)
OKLCHoklch(72.9% 0.029 316.7)

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 #AFA2B4 2.42:1 Fails Lc -52.8 Large or bold text, headings
Black text on #AFA2B4 8.64:1 AAA Lc 56.2 Large or bold text, headings
#AFA2B4 text on white 2.42:1 Fails Lc 47.8 Large or bold text, headings
#AFA2B4 text on black 8.64:1 AAA Lc -54.2 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

    #DCD7DE

    oklch(88.5% 0.011 316.5)

  4. Step 300

    300

    #C5BDC9

    oklch(80.9% 0.019 314.7)

  5. Step 400

    400 (this color)

    #AFA2B4

    oklch(72.9% 0.029 316.7)

  6. Step 500

    500

    #938399

    oklch(63.2% 0.037 316.8)

  7. Step 600

    600

    #7D6C84

    oklch(55.6% 0.042 316.1)

  8. Step 700

    700

    #6A5A6F

    oklch(49.1% 0.038 318.1)

  9. Step 800

    800

    #564A5B

    oklch(42.7% 0.032 316)

  10. Step 900

    900

    #473E4A

    oklch(37.8% 0.023 317.7)

  11. Step 950

    950

    #2A242C

    oklch(27% 0.017 317.7)

Export this scale for Tailwind in the Tailwind colors tool

#AFA2B4 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)#A0A5B50.022
Deuteranopia (no green cones)#A3A7B30.021
Tritanopia (no blue cones)#AFA4A80.020
Achromatopsia (no color)#A6A6A60.030

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA2B4

    #AFA2B4

    oklch(72.9% 0.029 316.7)

  • #9FAC9A

    #9FAC9A

    oklch(72.9% 0.029 136.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA2B4

    #AFA2B4

    oklch(72.9% 0.029 316.7)

  • #A5A5BA

    #A5A5BA

    oklch(72.9% 0.03 285.6)

  • #B6A0AB

    #B6A0AB

    oklch(72.8% 0.03 346.2)

Open the analogous palette in the generator

Split complementary

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

  • #AFA2B4

    #AFA2B4

    oklch(72.9% 0.029 316.7)

  • #A9A994

    #A9A994

    oklch(72.9% 0.029 107.1)

  • #97AEA3

    #97AEA3

    oklch(73% 0.03 165.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA2B4

    #AFA2B4

    oklch(72.9% 0.029 316.7)

  • #B2A593

    #B2A593

    oklch(72.8% 0.029 76.1)

  • #93ADAE

    #93ADAE

    oklch(72.8% 0.029 199.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA2B4

    #AFA2B4

    oklch(72.9% 0.029 316.7)

  • #B8A298

    #B8A298

    oklch(72.9% 0.03 46)

  • #9FAC9A

    #9FAC9A

    oklch(72.9% 0.029 136.9)

  • #95ACB6

    #95ACB6

    oklch(73% 0.029 225.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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