#AF5F97

Closest named color: Dark Lilac (#9C6DA5). oklch(59.6% 0.125 339.5), rgb(175, 95, 151).

Aa

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

About this color

#AF5F97 is a medium-dark, moderately saturated pink. In OKLCH its lightness is 60%, its chroma 0.125 and its hue 340°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Lilac (#9C6DA5), ΔE 0.045 away. Black text reads best on it, at 4.90:1.

Hue familyPinks
Lightnessmedium-dark (60%)
Chromamoderately saturated (0.125)
Temperaturewarm
Nearest nameDark Lilac (#9C6DA5)
Black text4.90:1
White text4.27:1

Values

HEX#AF5F97
RGBrgb(175, 95, 151)
HSLhsl(318, 33%, 53%)
OKLCHoklch(59.6% 0.125 339.5)

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 #AF5F97 4.27:1 AA large text Lc -74.8 Content text, not long reading
Black text on #AF5F97 4.90:1 AA Lc 34.8 Non-text elements, placeholder text
#AF5F97 text on white 4.27:1 AA large text Lc 69.3 Content text, not long reading
#AF5F97 text on black 4.90:1 AA Lc -32.4 Non-text elements, placeholder text

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 500.

  1. Step 50

    50

    #F9F3F7

    oklch(97% 0.008 337.4)

  2. Step 100

    100

    #F3E5EE

    oklch(93.6% 0.019 338.7)

  3. Step 200

    200

    #E9D1E0

    oklch(88.5% 0.033 339.9)

  4. Step 300

    300

    #DCB2CD

    oklch(80.9% 0.06 339.8)

  5. Step 400

    400

    #CA88B4

    oklch(70.7% 0.099 339.9)

  6. Step 500

    500 (this color)

    #AF5F97

    oklch(59.6% 0.125 339.5)

  7. Step 600

    600

    #A54F8D

    oklch(55.5% 0.137 339.1)

  8. Step 700

    700

    #8E4078

    oklch(49.2% 0.127 339.5)

  9. Step 800

    800

    #733561

    oklch(42.7% 0.105 339.7)

  10. Step 900

    900

    #5D2F4F

    oklch(37.7% 0.08 339.8)

  11. Step 950

    950

    #371C2F

    oklch(27.1% 0.052 339)

Export this scale for Tailwind in the Tailwind colors tool

#AF5F97 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)#6272990.129
Deuteranopia (no green cones)#777F950.118
Tritanopia (no blue cones)#B761740.058
Achromatopsia (no color)#7A7A7A0.126

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF5F97

    #AF5F97

    oklch(59.6% 0.125 339.5)

  • #229564

    #229564

    oklch(59.6% 0.125 159.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF5F97

    #AF5F97

    oklch(59.6% 0.125 339.5)

  • #9568B7

    #9568B7

    oklch(59.5% 0.126 309.3)

  • #BD5C6F

    #BD5C6F

    oklch(59.7% 0.126 9.3)

Open the analogous palette in the generator

Split complementary

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

  • #AF5F97

    #AF5F97

    oklch(59.6% 0.125 339.5)

  • #678D35

    #678D35

    oklch(59.6% 0.125 129.3)

  • #00928C

    #00928C

    oklch(59.5% 0.103 189.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF5F97

    #AF5F97

    oklch(59.6% 0.125 339.5)

  • #918000

    #918000

    oklch(59.7% 0.124 100)

  • #008DAB

    #008DAB

    oklch(59.5% 0.108 219.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF5F97

    #AF5F97

    oklch(59.6% 0.125 339.5)

  • #AE6F10

    #AE6F10

    oklch(59.5% 0.125 69.2)

  • #229564

    #229564

    oklch(59.6% 0.125 159.6)

  • #3C83C6

    #3C83C6

    oklch(59.6% 0.125 249.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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