#AF518F

Closest named color: Light Plum (#9D5783). oklch(57.2% 0.143 342.3), rgb(175, 81, 143).

Aa

White text reads best on this color (4.77:1).

About this color

#AF518F is a medium-dark, vivid pink. In OKLCH its lightness is 57%, its chroma 0.143 and its hue 342°. Its hue sits on the warm side of the wheel. The nearest named color is Light Plum (#9D5783), ΔE 0.040 away. White text reads best on it, at 4.77:1.

Hue familyPinks
Lightnessmedium-dark (57%)
Chromavivid (0.143)
Temperaturewarm
Nearest nameLight Plum (#9D5783)
Black text4.39:1
White text4.77:1

Values

HEX#AF518F
RGBrgb(175, 81, 143)
HSLhsl(320, 37%, 50%)
OKLCHoklch(57.2% 0.143 342.3)

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 #AF518F 4.77:1 AA Lc -78.1 Fine for body text
Black text on #AF518F 4.39:1 AA large text Lc 31.4 Non-text elements, placeholder text
#AF518F text on white 4.77:1 AA Lc 72.7 Content text, not long reading
#AF518F text on black 4.39:1 AA large text Lc -29.0 Dividers and decoration only

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 600.

  1. Step 50

    50

    #FAF3F7

    oklch(97.1% 0.009 341.8)

  2. Step 100

    100

    #F3E5ED

    oklch(93.5% 0.018 342)

  3. Step 200

    200

    #EBD0E0

    oklch(88.5% 0.037 341.5)

  4. Step 300

    300

    #DFB1CC

    oklch(81% 0.064 342.6)

  5. Step 400

    400

    #CD86B2

    oklch(70.6% 0.104 342.3)

  6. Step 500

    500

    #BF679F

    oklch(63.2% 0.131 342.7)

  7. Step 600

    600 (this color)

    #AF518F

    oklch(57.2% 0.143 342.3)

  8. Step 700

    700

    #913D75

    oklch(49.1% 0.132 342.4)

  9. Step 800

    800

    #76335F

    oklch(42.7% 0.109 342.6)

  10. Step 900

    900

    #602D4E

    oklch(37.7% 0.086 342.6)

  11. Step 950

    950

    #381B2E

    oklch(27% 0.054 341.6)

Export this scale for Tailwind in the Tailwind colors tool

#AF518F 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)#5769910.152
Deuteranopia (no green cones)#71788D0.136
Tritanopia (no blue cones)#B952690.063
Achromatopsia (no color)#7272720.145

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF518F

    #AF518F

    oklch(57.2% 0.143 342.3)

  • #008E61

    #008E61

    oklch(57.2% 0.125 162.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF518F

    #AF518F

    oklch(57.2% 0.143 342.3)

  • #945CB4

    #945CB4

    oklch(57.3% 0.142 312)

  • #BD4E61

    #BD4E61

    oklch(57.3% 0.143 12.3)

Open the analogous palette in the generator

Split complementary

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

  • #AF518F

    #AF518F

    oklch(57.2% 0.143 342.3)

  • #568921

    #568921

    oklch(57.3% 0.143 132.5)

  • #008A87

    #008A87

    oklch(57.2% 0.098 192.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF518F

    #AF518F

    oklch(57.2% 0.143 342.3)

  • #867A00

    #867A00

    oklch(57.2% 0.12 102.6)

  • #0085A5

    #0085A5

    oklch(57.2% 0.106 222.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF518F

    #AF518F

    oklch(57.2% 0.143 342.3)

  • #A36A00

    #A36A00

    oklch(57.1% 0.122 72.4)

  • #008E61

    #008E61

    oklch(57.2% 0.125 162.2)

  • #2D7AC9

    #2D7AC9

    oklch(57.2% 0.143 252.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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