#AF408A

Closest named color: Light Plum (#9D5783). oklch(54.9% 0.166 343.1), rgb(175, 64, 138).

Aa

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

About this color

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

Hue familyPinks
Lightnessmedium-dark (55%)
Chromavivid (0.166)
Temperaturewarm
Nearest nameLight Plum (#9D5783)
Black text3.92:1
White text5.35:1

Values

HEX#AF408A
RGBrgb(175, 64, 138)
HSLhsl(320, 46%, 47%)
OKLCHoklch(54.9% 0.166 343.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 #AF408A 5.35:1 AA Lc -81.2 Fine for body text
Black text on #AF408A 3.92:1 AA large text Lc 28.2 Dividers and decoration only
#AF408A text on white 5.35:1 AA Lc 75.9 Fine for body text
#AF408A text on black 3.92:1 AA large text Lc -25.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

    #FBF3F7

    oklch(97.1% 0.01 345.4)

  2. Step 100

    100

    #F5E4EE

    oklch(93.5% 0.023 341.3)

  3. Step 200

    200

    #EECFE0

    oklch(88.5% 0.041 343.8)

  4. Step 300

    300

    #E4AECD

    oklch(80.9% 0.075 343.5)

  5. Step 400

    400

    #D481B4

    oklch(70.6% 0.12 343.1)

  6. Step 500

    500

    #C65FA1

    oklch(63% 0.152 343.2)

  7. Step 600

    600 (this color)

    #AF408A

    oklch(54.9% 0.166 343.1)

  8. Step 700

    700

    #983377

    oklch(49% 0.155 343.1)

  9. Step 800

    800

    #7C2C61

    oklch(42.8% 0.128 343.2)

  10. Step 900

    900

    #64284F

    oklch(37.6% 0.1 343.2)

  11. Step 950

    950

    #3B182E

    oklch(26.9% 0.064 343.7)

Export this scale for Tailwind in the Tailwind colors tool

#AF408A 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)#495F8C0.180
Deuteranopia (no green cones)#6A71870.159
Tritanopia (no blue cones)#BA405F0.072
Achromatopsia (no color)#6B6B6B0.167

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF408A

    #AF408A

    oklch(54.9% 0.166 343.1)

  • #00865D

    #00865D

    oklch(54.9% 0.118 163.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF408A

    #AF408A

    oklch(54.9% 0.166 343.1)

  • #924DB4

    #924DB4

    oklch(54.8% 0.166 313.2)

  • #BE3B55

    #BE3B55

    oklch(54.9% 0.167 13)

Open the analogous palette in the generator

Split complementary

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

  • #AF408A

    #AF408A

    oklch(54.9% 0.166 343.1)

  • #4A8300

    #4A8300

    oklch(54.9% 0.155 133.1)

  • #008280

    #008280

    oklch(54.8% 0.094 192.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF408A

    #AF408A

    oklch(54.9% 0.166 343.1)

  • #7E7300

    #7E7300

    oklch(54.8% 0.115 102.8)

  • #007D9C

    #007D9C

    oklch(54.7% 0.102 223.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF408A

    #AF408A

    oklch(54.9% 0.166 343.1)

  • #9A6400

    #9A6400

    oklch(54.8% 0.117 72.5)

  • #00865D

    #00865D

    oklch(54.9% 0.118 163.2)

  • #0971CE

    #0971CE

    oklch(54.9% 0.166 253.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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