#AF4C9A

Closest named color: Light Plum (#9D5783). oklch(57% 0.159 336.4), rgb(175, 76, 154).

Aa

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

About this color

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

Hue familyPinks
Lightnessmedium-dark (57%)
Chromavivid (0.159)
Temperaturewarm
Nearest nameLight Plum (#9D5783)
Black text4.32:1
White text4.85:1

Values

HEX#AF4C9A
RGBrgb(175, 76, 154)
HSLhsl(313, 39%, 49%)
OKLCHoklch(57% 0.159 336.4)

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

    #FAF3F8

    oklch(97.1% 0.01 335.5)

  2. Step 100

    100

    #F3E5EF

    oklch(93.6% 0.02 335.7)

  3. Step 200

    200

    #EBD0E3

    oklch(88.6% 0.039 336.5)

  4. Step 300

    300

    #DFAFD2

    oklch(80.8% 0.072 336.2)

  5. Step 400

    400

    #CE84BB

    oklch(70.7% 0.115 336.7)

  6. Step 500

    500

    #BF63AA

    oklch(63.1% 0.146 336.5)

  7. Step 600

    600 (this color)

    #AF4C9A

    oklch(57% 0.159 336.4)

  8. Step 700

    700

    #92387F

    oklch(49.1% 0.148 336.7)

  9. Step 800

    800

    #772F68

    oklch(42.7% 0.124 336.4)

  10. Step 900

    900

    #602B54

    oklch(37.7% 0.095 336.7)

  11. Step 950

    950

    #381A31

    oklch(27% 0.059 336.5)

Export this scale for Tailwind in the Tailwind colors tool

#AF4C9A 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)#4D689D0.167
Deuteranopia (no green cones)#6B77970.148
Tritanopia (no blue cones)#B7516C0.078
Achromatopsia (no color)#7171710.161

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF4C9A

    #AF4C9A

    oklch(57% 0.159 336.4)

  • #008F54

    #008F54

    oklch(57.2% 0.138 156.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF4C9A

    #AF4C9A

    oklch(57% 0.159 336.4)

  • #9059C0

    #9059C0

    oklch(57% 0.16 306.7)

  • #C14668

    #C14668

    oklch(57.1% 0.159 6.7)

Open the analogous palette in the generator

Split complementary

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

  • #AF4C9A

    #AF4C9A

    oklch(57% 0.159 336.4)

  • #618600

    #618600

    oklch(57.1% 0.146 126.5)

  • #008A81

    #008A81

    oklch(57% 0.1 186.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF4C9A

    #AF4C9A

    oklch(57% 0.159 336.4)

  • #8C7600

    #8C7600

    oklch(57% 0.117 96)

  • #00869E

    #00869E

    oklch(57.1% 0.102 216.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF4C9A

    #AF4C9A

    oklch(57% 0.159 336.4)

  • #A86600

    #A86600

    oklch(57% 0.126 66.8)

  • #008F54

    #008F54

    oklch(57.2% 0.138 156.2)

  • #007CC9

    #007CC9

    oklch(57% 0.149 246.7)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #AF4C9A.

Similar named colors

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

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