#AF9EA7

Closest named color: Dark Gray (#A9A9A9). oklch(71.7% 0.023 344.4), rgb(175, 158, 167).

Aa

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

About this color

#AF9EA7 is a medium-light close to neutral grey. In OKLCH its lightness is 72%, its chroma 0.023. 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.27:1.

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

Values

HEX#AF9EA7
RGBrgb(175, 158, 167)
HSLhsl(328, 10%, 65%)
OKLCHoklch(71.7% 0.023 344.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 #AF9EA7 2.53:1 Fails Lc -54.9 Large or bold text, headings
Black text on #AF9EA7 8.27:1 AAA Lc 54.2 Large or bold text, headings
#AF9EA7 text on white 2.53:1 Fails Lc 49.8 Large or bold text, headings
#AF9EA7 text on black 8.27:1 AAA Lc -52.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

    #ECE9EA

    oklch(93.7% 0.003 354.7)

  3. Step 200

    200

    #DDD7DA

    oklch(88.5% 0.008 345.4)

  4. Step 300

    300

    #C8BDC3

    oklch(80.9% 0.015 343.3)

  5. Step 400

    400 (this color)

    #AF9EA7

    oklch(71.7% 0.023 344.4)

  6. Step 500

    500

    #97838E

    oklch(63.2% 0.029 343.7)

  7. Step 600

    600

    #826C78

    oklch(55.6% 0.033 344.2)

  8. Step 700

    700

    #6E5A65

    oklch(49.1% 0.031 344.1)

  9. Step 800

    800

    #594A52

    oklch(42.7% 0.024 344.8)

  10. Step 900

    900

    #4A3E44

    oklch(37.9% 0.019 346.4)

  11. Step 950

    950

    #2B2428

    oklch(27% 0.013 342.7)

Export this scale for Tailwind in the Tailwind colors tool

#AF9EA7 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)#9FA1A70.024
Deuteranopia (no green cones)#A2A3A70.022
Tritanopia (no blue cones)#B29EA10.009
Achromatopsia (no color)#A2A2A20.024

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF9EA7

    #AF9EA7

    oklch(71.7% 0.023 344.4)

  • #97A8A0

    #97A8A0

    oklch(71.6% 0.022 165.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF9EA7

    #AF9EA7

    oklch(71.7% 0.023 344.4)

  • #A99FAE

    #A99FAE

    oklch(71.6% 0.024 314.7)

  • #B29E9F

    #B29E9F

    oklch(71.7% 0.024 14.3)

Open the analogous palette in the generator

Split complementary

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

  • #AF9EA7

    #AF9EA7

    oklch(71.7% 0.023 344.4)

  • #9EA798

    #9EA798

    oklch(71.7% 0.024 132.6)

  • #93A8A8

    #93A8A8

    oklch(71.5% 0.023 196.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF9EA7

    #AF9EA7

    oklch(71.7% 0.023 344.4)

  • #A6A594

    #A6A594

    oklch(71.8% 0.024 104.2)

  • #95A7AF

    #95A7AF

    oklch(71.7% 0.023 226.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF9EA7

    #AF9EA7

    oklch(71.7% 0.023 344.4)

  • #ADA294

    #ADA294

    oklch(71.8% 0.024 74)

  • #97A8A0

    #97A8A0

    oklch(71.6% 0.022 165.8)

  • #9AA5B2

    #9AA5B2

    oklch(71.7% 0.023 252.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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