#AF517F

Closest named color: Light Plum (#9D5783). oklch(56.6% 0.133 351.6), rgb(175, 81, 127).

Aa

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

About this color

#AF517F is a medium-dark, moderately saturated red. In OKLCH its lightness is 57%, its chroma 0.133 and its hue 352°. Its hue sits on the warm side of the wheel. The nearest named color is Light Plum (#9D5783), ΔE 0.034 away. White text reads best on it, at 4.87:1.

Hue familyReds
Lightnessmedium-dark (57%)
Chromamoderately saturated (0.133)
Temperaturewarm
Nearest nameLight Plum (#9D5783)
Black text4.30:1
White text4.87:1

Values

HEX#AF517F
RGBrgb(175, 81, 127)
HSLhsl(331, 37%, 50%)
OKLCHoklch(56.6% 0.133 351.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 #AF517F 4.87:1 AA Lc -78.8 Fine for body text
Black text on #AF517F 4.30:1 AA large text Lc 30.7 Non-text elements, placeholder text
#AF517F text on white 4.87:1 AA Lc 73.3 Content text, not long reading
#AF517F text on black 4.30:1 AA large text Lc -28.4 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

    #FAF3F6

    oklch(97% 0.008 349.2)

  2. Step 100

    100

    #F4E5EB

    oklch(93.6% 0.018 351.2)

  3. Step 200

    200

    #ECD1DB

    oklch(88.6% 0.033 353.4)

  4. Step 300

    300

    #E0B1C5

    oklch(80.8% 0.06 351.2)

  5. Step 400

    400

    #CF87A7

    oklch(70.6% 0.097 351.6)

  6. Step 500

    500

    #C16892

    oklch(63.2% 0.123 351.5)

  7. Step 600

    600 (this color)

    #AF517F

    oklch(56.6% 0.133 351.6)

  8. Step 700

    700

    #933E68

    oklch(49% 0.124 351.8)

  9. Step 800

    800

    #783455

    oklch(42.8% 0.103 352)

  10. Step 900

    900

    #612E46

    oklch(37.7% 0.08 352.1)

  11. Step 950

    950

    #391B29

    oklch(26.9% 0.051 351.7)

Export this scale for Tailwind in the Tailwind colors tool

#AF517F 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)#5D67800.145
Deuteranopia (no green cones)#76777D0.131
Tritanopia (no blue cones)#BB4D620.048
Achromatopsia (no color)#7171710.134

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF517F

    #AF517F

    oklch(56.6% 0.133 351.6)

  • #008B6E

    #008B6E

    oklch(56.7% 0.111 171.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF517F

    #AF517F

    oklch(56.6% 0.133 351.6)

  • #9A59A5

    #9A59A5

    oklch(56.7% 0.134 321.6)

  • #B85152

    #B85152

    oklch(56.7% 0.134 21.7)

Open the analogous palette in the generator

Split complementary

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

  • #AF517F

    #AF517F

    oklch(56.6% 0.133 351.6)

  • #43893B

    #43893B

    oklch(56.6% 0.133 141.7)

  • #00878E

    #00878E

    oklch(56.7% 0.096 201.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF517F

    #AF517F

    oklch(56.6% 0.133 351.6)

  • #797C00

    #797C00

    oklch(56.5% 0.125 111.5)

  • #0081AE

    #0081AE

    oklch(56.6% 0.115 231.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF517F

    #AF517F

    oklch(56.6% 0.133 351.6)

  • #996E00

    #996E00

    oklch(56.7% 0.117 81.4)

  • #008B6E

    #008B6E

    oklch(56.7% 0.111 171.3)

  • #4874C4

    #4874C4

    oklch(56.6% 0.133 261.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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