#AF518A

Closest named color: Light Plum (#9D5783). oklch(57% 0.14 345.1), rgb(175, 81, 138).

Aa

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

About this color

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

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

Values

HEX#AF518A
RGBrgb(175, 81, 138)
HSLhsl(324, 37%, 50%)
OKLCHoklch(57% 0.14 345.1)

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 #AF518A 4.80:1 AA Lc -78.3 Fine for body text
Black text on #AF518A 4.36:1 AA large text Lc 31.2 Non-text elements, placeholder text
#AF518A text on white 4.80:1 AA Lc 72.9 Content text, not long reading
#AF518A text on black 4.36:1 AA large text Lc -28.8 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

    #EBD0DE

    oklch(88.4% 0.035 345.2)

  4. Step 300

    300

    #DFB1CA

    oklch(80.9% 0.062 344.8)

  5. Step 400

    400

    #CE87AF

    oklch(70.8% 0.101 345.1)

  6. Step 500

    500

    #BF679B

    oklch(63.1% 0.129 345)

  7. Step 600

    600 (this color)

    #AF518A

    oklch(57% 0.14 345.1)

  8. Step 700

    700

    #923D71

    oklch(49.1% 0.13 345.3)

  9. Step 800

    800

    #77335C

    oklch(42.7% 0.108 345.5)

  10. Step 900

    900

    #602D4C

    oklch(37.7% 0.085 344.6)

  11. Step 950

    950

    #381B2C

    oklch(26.9% 0.052 345.1)

Export this scale for Tailwind in the Tailwind colors tool

#AF518A 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)#59688C0.149
Deuteranopia (no green cones)#7378880.135
Tritanopia (no blue cones)#B950670.057
Achromatopsia (no color)#7272720.141

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF518A

    #AF518A

    oklch(57% 0.14 345.1)

  • #008D66

    #008D66

    oklch(57% 0.119 165.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF518A

    #AF518A

    oklch(57% 0.14 345.1)

  • #965BAF

    #965BAF

    oklch(57.1% 0.139 315.1)

  • #BB4F5C

    #BB4F5C

    oklch(57.1% 0.14 15.3)

Open the analogous palette in the generator

Split complementary

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

  • #AF518A

    #AF518A

    oklch(57% 0.14 345.1)

  • #51892A

    #51892A

    oklch(57.1% 0.14 135)

  • #008989

    #008989

    oklch(57% 0.097 194.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF518A

    #AF518A

    oklch(57% 0.14 345.1)

  • #837B00

    #837B00

    oklch(57.2% 0.121 105.1)

  • #0084A7

    #0084A7

    oklch(57% 0.108 224.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF518A

    #AF518A

    oklch(57% 0.14 345.1)

  • #A06B00

    #A06B00

    oklch(57% 0.12 74.9)

  • #008D66

    #008D66

    oklch(57% 0.119 165.3)

  • #3778C8

    #3778C8

    oklch(57% 0.14 255.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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