#AF87A2

Closest named color: Dusty Lavender (#AC86A8). oklch(67% 0.061 338.6), rgb(175, 135, 162).

Aa

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

About this color

#AF87A2 is a medium-light, muted pink. In OKLCH its lightness is 67%, its chroma 0.061 and its hue 339°. Its hue sits on the warm side of the wheel. The nearest named color is Dusty Lavender (#AC86A8), ΔE 0.011 away. Black text reads best on it, at 6.81:1.

Hue familyPinks
Lightnessmedium-light (67%)
Chromamuted (0.061)
Temperaturewarm
Nearest nameDusty Lavender (#AC86A8)
Black text6.81:1
White text3.08:1

Values

HEX#AF87A2
RGBrgb(175, 135, 162)
HSLhsl(320, 20%, 61%)
OKLCHoklch(67% 0.061 338.6)

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 #AF87A2 3.08:1 AA large text Lc -63.1 Content text, not long reading
Black text on #AF87A2 6.81:1 AA Lc 46.3 Large or bold text, headings
#AF87A2 text on white 3.08:1 AA large text Lc 57.7 Large or bold text, headings
#AF87A2 text on black 6.81:1 AA Lc -44.0 Non-text elements, placeholder text

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

    #F8F4F6

    oklch(97.1% 0.005 345.3)

  2. Step 100

    100

    #EFE7EC

    oklch(93.6% 0.011 339.3)

  3. Step 200

    200

    #E3D4DE

    oklch(88.5% 0.021 337.7)

  4. Step 300

    300

    #D2B8C9

    oklch(81% 0.037 338.7)

  5. Step 400

    400 (this color)

    #AF87A2

    oklch(67% 0.061 338.6)

  6. Step 500

    500

    #A97799

    oklch(63.1% 0.078 339)

  7. Step 600

    600

    #945F84

    oklch(55.5% 0.085 338.6)

  8. Step 700

    700

    #7E4F70

    oklch(49.2% 0.078 338.5)

  9. Step 800

    800

    #67415B

    oklch(42.8% 0.065 339.3)

  10. Step 900

    900

    #54374B

    oklch(37.8% 0.051 338.7)

  11. Step 950

    950

    #31202C

    oklch(26.9% 0.033 337.8)

Export this scale for Tailwind in the Tailwind colors tool

#AF87A2 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)#888FA30.060
Deuteranopia (no green cones)#9195A10.057
Tritanopia (no blue cones)#B488900.029
Achromatopsia (no color)#9393930.062

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF87A2

    #AF87A2

    oklch(67% 0.061 338.6)

  • #75A187

    #75A187

    oklch(67% 0.061 158.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF87A2

    #AF87A2

    oklch(67% 0.061 338.6)

  • #A08BB2

    #A08BB2

    oklch(66.9% 0.061 309.1)

  • #B7868D

    #B7868D

    oklch(67% 0.061 9.3)

Open the analogous palette in the generator

Split complementary

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

  • #AF87A2

    #AF87A2

    oklch(67% 0.061 338.6)

  • #8A9D75

    #8A9D75

    oklch(67% 0.061 128.6)

  • #68A29D

    #68A29D

    oklch(67.1% 0.061 188.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF87A2

    #AF87A2

    oklch(67% 0.061 338.6)

  • #9F966A

    #9F966A

    oklch(67% 0.062 98)

  • #699FAF

    #699FAF

    oklch(67.1% 0.062 218.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF87A2

    #AF87A2

    oklch(67% 0.061 338.6)

  • #AE8F6C

    #AE8F6C

    oklch(67% 0.061 69.9)

  • #75A187

    #75A187

    oklch(67% 0.061 158.3)

  • #7899BA

    #7899BA

    oklch(67% 0.061 248.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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