#AF4E8A

Closest named color: Light Plum (#9D5783). oklch(56.6% 0.145 344.7), rgb(175, 78, 138).

Aa

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

About this color

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

Hue familyPinks
Lightnessmedium-dark (57%)
Chromavivid (0.145)
Temperaturewarm
Nearest nameLight Plum (#9D5783)
Black text4.27:1
White text4.90:1

Values

HEX#AF4E8A
RGBrgb(175, 78, 138)
HSLhsl(323, 38%, 50%)
OKLCHoklch(56.6% 0.145 344.7)

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 #AF4E8A 4.90:1 AA Lc -78.9 Fine for body text
Black text on #AF4E8A 4.27:1 AA large text Lc 30.6 Non-text elements, placeholder text
#AF4E8A text on white 4.90:1 AA Lc 73.5 Content text, not long reading
#AF4E8A text on black 4.27:1 AA large text Lc -28.2 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

    #ECD0DF

    oklch(88.5% 0.037 344.3)

  4. Step 300

    300

    #E0B0CA

    oklch(80.8% 0.065 344.9)

  5. Step 400

    400

    #CF86B0

    oklch(70.8% 0.104 344.6)

  6. Step 500

    500

    #C1669C

    oklch(63.2% 0.133 345)

  7. Step 600

    600 (this color)

    #AF4E8A

    oklch(56.6% 0.145 344.7)

  8. Step 700

    700

    #933B72

    oklch(49% 0.135 344.8)

  9. Step 800

    800

    #78325D

    oklch(42.8% 0.111 345)

  10. Step 900

    900

    #612C4C

    oklch(37.6% 0.088 345)

  11. Step 950

    950

    #391B2D

    oklch(27.1% 0.054 344.5)

Export this scale for Tailwind in the Tailwind colors tool

#AF4E8A 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)#56668C0.155
Deuteranopia (no green cones)#7177880.140
Tritanopia (no blue cones)#B94D660.059
Achromatopsia (no color)#7171710.146

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF4E8A

    #AF4E8A

    oklch(56.6% 0.145 344.7)

  • #008C64

    #008C64

    oklch(56.7% 0.12 164.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF4E8A

    #AF4E8A

    oklch(56.6% 0.145 344.7)

  • #9558B0

    #9558B0

    oklch(56.5% 0.145 314.6)

  • #BB4B5B

    #BB4B5B

    oklch(56.5% 0.145 14.4)

Open the analogous palette in the generator

Split complementary

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

  • #AF4E8A

    #AF4E8A

    oklch(56.6% 0.145 344.7)

  • #4F8823

    #4F8823

    oklch(56.7% 0.144 134.6)

  • #008887

    #008887

    oklch(56.7% 0.097 193.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF4E8A

    #AF4E8A

    oklch(56.6% 0.145 344.7)

  • #827900

    #827900

    oklch(56.6% 0.12 104.4)

  • #0083A5

    #0083A5

    oklch(56.7% 0.107 224.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF4E8A

    #AF4E8A

    oklch(56.6% 0.145 344.7)

  • #9F6A00

    #9F6A00

    oklch(56.6% 0.12 74.6)

  • #008C64

    #008C64

    oklch(56.7% 0.12 164.6)

  • #3177C9

    #3177C9

    oklch(56.7% 0.145 254.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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