#AF8CA5

Closest named color: Dusty Lavender (#AC86A8). oklch(68.1% 0.055 336.7), rgb(175, 140, 165).

Aa

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

About this color

#AF8CA5 is a medium-light, muted pink. In OKLCH its lightness is 68%, its chroma 0.055 and its hue 337°. Its hue sits on the warm side of the wheel. The nearest named color is Dusty Lavender (#AC86A8), ΔE 0.019 away. Black text reads best on it, at 7.11:1.

Hue familyPinks
Lightnessmedium-light (68%)
Chromamuted (0.055)
Temperaturewarm
Nearest nameDusty Lavender (#AC86A8)
Black text7.11:1
White text2.95:1

Values

HEX#AF8CA5
RGBrgb(175, 140, 165)
HSLhsl(317, 18%, 62%)
OKLCHoklch(68.1% 0.055 336.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 #AF8CA5 2.95:1 Fails Lc -61.3 Content text, not long reading
Black text on #AF8CA5 7.11:1 AAA Lc 48.1 Large or bold text, headings
#AF8CA5 text on white 2.95:1 Fails Lc 56.0 Large or bold text, headings
#AF8CA5 text on black 7.11:1 AAA Lc -45.8 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

    #F8F4F6

    oklch(97.1% 0.005 345.3)

  2. Step 100

    100

    #EEE7EC

    oklch(93.5% 0.01 335.5)

  3. Step 200

    200

    #E2D5DE

    oklch(88.6% 0.019 336.6)

  4. Step 300

    300

    #D0B9C9

    oklch(81% 0.034 336.8)

  5. Step 400

    400 (this color)

    #AF8CA5

    oklch(68.1% 0.055 336.7)

  6. Step 500

    500

    #A57999

    oklch(63% 0.07 336.6)

  7. Step 600

    600

    #906284

    oklch(55.6% 0.076 336.5)

  8. Step 700

    700

    #7A516F

    oklch(49% 0.07 336.9)

  9. Step 800

    800

    #64435B

    oklch(42.9% 0.058 337)

  10. Step 900

    900

    #51384B

    oklch(37.6% 0.046 335.4)

  11. Step 950

    950

    #30212C

    oklch(27% 0.03 336.3)

Export this scale for Tailwind in the Tailwind colors tool

#AF8CA5 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)#8C93A60.054
Deuteranopia (no green cones)#9498A40.050
Tritanopia (no blue cones)#B38D940.027
Achromatopsia (no color)#9696960.055

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF8CA5

    #AF8CA5

    oklch(68.1% 0.055 336.7)

  • #7DA38B

    #7DA38B

    oklch(68% 0.055 156.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF8CA5

    #AF8CA5

    oklch(68.1% 0.055 336.7)

  • #A190B3

    #A190B3

    oklch(68% 0.054 307)

  • #B78B93

    #B78B93

    oklch(68.1% 0.055 6.5)

Open the analogous palette in the generator

Split complementary

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

  • #AF8CA5

    #AF8CA5

    oklch(68.1% 0.055 336.7)

  • #8F9F7B

    #8F9F7B

    oklch(68% 0.054 127.3)

  • #71A49E

    #71A49E

    oklch(68.1% 0.055 186.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF8CA5

    #AF8CA5

    oklch(68.1% 0.055 336.7)

  • #A29972

    #A29972

    oklch(68.1% 0.055 96.7)

  • #72A1AE

    #72A1AE

    oklch(68% 0.054 216.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF8CA5

    #AF8CA5

    oklch(68.1% 0.055 336.7)

  • #B09275

    #B09275

    oklch(68% 0.054 65.7)

  • #7DA38B

    #7DA38B

    oklch(68% 0.055 156.9)

  • #7D9CB9

    #7D9CB9

    oklch(68% 0.055 246.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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