#AF5F8A

Closest named color: Light Plum (#9D5783). oklch(59.1% 0.116 347.8), rgb(175, 95, 138).

Aa

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

About this color

#AF5F8A is a medium-dark, moderately saturated red. In OKLCH its lightness is 59%, its chroma 0.116 and its hue 348°. Its hue sits on the warm side of the wheel. The nearest named color is Light Plum (#9D5783), ΔE 0.041 away. Black text reads best on it, at 4.82:1.

Hue familyReds
Lightnessmedium-dark (59%)
Chromamoderately saturated (0.116)
Temperaturewarm
Nearest nameLight Plum (#9D5783)
Black text4.82:1
White text4.35:1

Values

HEX#AF5F8A
RGBrgb(175, 95, 138)
HSLhsl(328, 33%, 53%)
OKLCHoklch(59.1% 0.116 347.8)

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 #AF5F8A 4.35:1 AA large text Lc -75.3 Fine for body text
Black text on #AF5F8A 4.82:1 AA Lc 34.2 Non-text elements, placeholder text
#AF5F8A text on white 4.35:1 AA large text Lc 69.8 Content text, not long reading
#AF5F8A text on black 4.82:1 AA Lc -31.8 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 600.

  1. Step 50

    50

    #F9F4F6

    oklch(97.2% 0.006 350.8)

  2. Step 100

    100

    #F2E6EC

    oklch(93.6% 0.015 345.6)

  3. Step 200

    200

    #E9D2DC

    oklch(88.6% 0.029 349.5)

  4. Step 300

    300

    #DBB4C7

    oklch(81% 0.051 347.4)

  5. Step 400

    400

    #C88BAA

    oklch(70.6% 0.084 347.6)

  6. Step 500

    500

    #B86E95

    oklch(63.1% 0.106 347.7)

  7. Step 600

    600 (this color)

    #AF5F8A

    oklch(59.1% 0.116 347.8)

  8. Step 700

    700

    #8C456C

    oklch(49.2% 0.108 347.7)

  9. Step 800

    800

    #723958

    oklch(42.8% 0.09 347.7)

  10. Step 900

    900

    #5C3148

    oklch(37.6% 0.07 347.7)

  11. Step 950

    950

    #361D2A

    oklch(26.9% 0.044 348)

Export this scale for Tailwind in the Tailwind colors tool

#AF5F8A 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)#66718B0.124
Deuteranopia (no green cones)#7B7E880.113
Tritanopia (no blue cones)#B95D6F0.044
Achromatopsia (no color)#7979790.117

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF5F8A

    #AF5F8A

    oklch(59.1% 0.116 347.8)

  • #139370

    #139370

    oklch(59.1% 0.116 167.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF5F8A

    #AF5F8A

    oklch(59.1% 0.116 347.8)

  • #9A66AA

    #9A66AA

    oklch(59.1% 0.116 318)

  • #B85E63

    #B85E63

    oklch(59% 0.116 17.8)

Open the analogous palette in the generator

Split complementary

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

  • #AF5F8A

    #AF5F8A

    oklch(59.1% 0.116 347.8)

  • #5A8E46

    #5A8E46

    oklch(59.3% 0.117 137.6)

  • #008F93

    #008F93

    oklch(59% 0.1 198.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF5F8A

    #AF5F8A

    oklch(59.1% 0.116 347.8)

  • #85821F

    #85821F

    oklch(59.1% 0.116 107.7)

  • #008AB3

    #008AB3

    oklch(59.1% 0.115 227.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF5F8A

    #AF5F8A

    oklch(59.1% 0.116 347.8)

  • #A37417

    #A37417

    oklch(59.2% 0.116 78.4)

  • #139370

    #139370

    oklch(59.1% 0.116 167.9)

  • #507EC2

    #507EC2

    oklch(59.1% 0.116 258)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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