#AF8FA2

Closest named color: Dusty Lavender (#AC86A8). oklch(68.5% 0.046 342), rgb(175, 143, 162).

Aa

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

About this color

#AF8FA2 is a medium-light, muted pink. In OKLCH its lightness is 69%, its chroma 0.046 and its hue 342°. Its hue sits on the warm side of the wheel. The nearest named color is Dusty Lavender (#AC86A8), ΔE 0.029 away. Black text reads best on it, at 7.27:1.

Hue familyPinks
Lightnessmedium-light (69%)
Chromamuted (0.046)
Temperaturewarm
Nearest nameDusty Lavender (#AC86A8)
Black text7.27:1
White text2.88:1

Values

HEX#AF8FA2
RGBrgb(175, 143, 162)
HSLhsl(324, 17%, 62%)
OKLCHoklch(68.5% 0.046 342)

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 #AF8FA2 2.88:1 Fails Lc -60.4 Content text, not long reading
Black text on #AF8FA2 7.27:1 AAA Lc 48.9 Large or bold text, headings
#AF8FA2 text on white 2.88:1 Fails Lc 55.1 Large or bold text, headings
#AF8FA2 text on black 7.27:1 AAA Lc -46.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

    #F7F4F6

    oklch(97% 0.004 337.4)

  2. Step 100

    100

    #EEE8EB

    oklch(93.7% 0.008 345.4)

  3. Step 200

    200

    #E1D5DC

    oklch(88.5% 0.016 341.4)

  4. Step 300

    300

    #CFBAC6

    oklch(81% 0.029 342.4)

  5. Step 400

    400 (this color)

    #AF8FA2

    oklch(68.5% 0.046 342)

  6. Step 500

    500

    #A37C94

    oklch(63.2% 0.059 341.5)

  7. Step 600

    600

    #8E647E

    oklch(55.5% 0.065 341.8)

  8. Step 700

    700

    #79536A

    oklch(49.1% 0.06 342.6)

  9. Step 800

    800

    #624457

    oklch(42.7% 0.05 341.1)

  10. Step 900

    900

    #503947

    oklch(37.5% 0.039 342)

  11. Step 950

    950

    #2F222A

    oklch(27.1% 0.024 341.4)

Export this scale for Tailwind in the Tailwind colors tool

#AF8FA2 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)#9095A30.047
Deuteranopia (no green cones)#979AA10.045
Tritanopia (no blue cones)#B38F950.020
Achromatopsia (no color)#9898980.047

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF8FA2

    #AF8FA2

    oklch(68.5% 0.046 342)

  • #81A391

    #81A391

    oklch(68.5% 0.046 161.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF8FA2

    #AF8FA2

    oklch(68.5% 0.046 342)

  • #A492AF

    #A492AF

    oklch(68.5% 0.047 312.7)

  • #B58F92

    #B58F92

    oklch(68.6% 0.046 13)

Open the analogous palette in the generator

Split complementary

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

  • #AF8FA2

    #AF8FA2

    oklch(68.5% 0.046 342)

  • #8FA083

    #8FA083

    oklch(68.4% 0.046 132.4)

  • #79A3A1

    #79A3A1

    oklch(68.4% 0.046 192.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF8FA2

    #AF8FA2

    oklch(68.5% 0.046 342)

  • #9F9B7A

    #9F9B7A

    oklch(68.4% 0.046 101.8)

  • #7BA1AF

    #7BA1AF

    oklch(68.6% 0.046 222.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF8FA2

    #AF8FA2

    oklch(68.5% 0.046 342)

  • #AC967B

    #AC967B

    oklch(68.6% 0.046 72.6)

  • #81A391

    #81A391

    oklch(68.5% 0.046 161.8)

  • #869CB6

    #869CB6

    oklch(68.5% 0.046 252.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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