#AF508A

Closest named color: Light Plum (#9D5783). oklch(56.9% 0.141 344.9), rgb(175, 80, 138).

Aa

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

About this color

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

Hue familyPinks
Lightnessmedium-dark (57%)
Chromavivid (0.141)
Temperaturewarm
Nearest nameLight Plum (#9D5783)
Black text4.33:1
White text4.84:1

Values

HEX#AF508A
RGBrgb(175, 80, 138)
HSLhsl(323, 37%, 50%)
OKLCHoklch(56.9% 0.141 344.9)

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 #AF508A 4.84:1 AA Lc -78.5 Fine for body text
Black text on #AF508A 4.33:1 AA large text Lc 31.0 Non-text elements, placeholder text
#AF508A text on white 4.84:1 AA Lc 73.1 Content text, not long reading
#AF508A text on black 4.33:1 AA large text Lc -28.6 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

    #F4E5ED

    oklch(93.6% 0.019 344)

  3. Step 200

    200

    #EBD0DE

    oklch(88.4% 0.035 345.2)

  4. Step 300

    300

    #E0B1CA

    oklch(81% 0.063 345.4)

  5. Step 400

    400

    #CE86AF

    oklch(70.6% 0.102 344.9)

  6. Step 500

    500

    #C0679B

    oklch(63.2% 0.129 345.4)

  7. Step 600

    600 (this color)

    #AF508A

    oklch(56.9% 0.141 344.9)

  8. Step 700

    700

    #923D72

    oklch(49.1% 0.131 344.6)

  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

    #391B2C

    oklch(27.1% 0.054 346.2)

Export this scale for Tailwind in the Tailwind colors tool

#AF508A 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)#58688C0.152
Deuteranopia (no green cones)#7277880.136
Tritanopia (no blue cones)#B94F670.057
Achromatopsia (no color)#7272720.142

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF508A

    #AF508A

    oklch(56.9% 0.141 344.9)

  • #008D65

    #008D65

    oklch(57% 0.12 164.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF508A

    #AF508A

    oklch(56.9% 0.141 344.9)

  • #965AB0

    #965AB0

    oklch(57% 0.142 314.9)

  • #BB4E5C

    #BB4E5C

    oklch(56.9% 0.141 14.9)

Open the analogous palette in the generator

Split complementary

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

  • #AF508A

    #AF508A

    oklch(56.9% 0.141 344.9)

  • #508928

    #508928

    oklch(57% 0.142 135)

  • #008889

    #008889

    oklch(56.8% 0.097 195.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF508A

    #AF508A

    oklch(56.9% 0.141 344.9)

  • #827A00

    #827A00

    oklch(56.9% 0.121 105)

  • #0084A7

    #0084A7

    oklch(57% 0.108 224.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF508A

    #AF508A

    oklch(56.9% 0.141 344.9)

  • #A06B00

    #A06B00

    oklch(57% 0.12 74.9)

  • #008D65

    #008D65

    oklch(57% 0.12 164.8)

  • #3578C8

    #3578C8

    oklch(57% 0.141 254.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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