#AF5E98

Closest named color: Dark Lilac (#9C6DA5). oklch(59.5% 0.128 338.8), rgb(175, 94, 152).

Aa

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

About this color

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

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

Values

HEX#AF5E98
RGBrgb(175, 94, 152)
HSLhsl(317, 34%, 53%)
OKLCHoklch(59.5% 0.128 338.8)

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 #AF5E98 4.30:1 AA large text Lc -75.0 Content text, not long reading
Black text on #AF5E98 4.87:1 AA Lc 34.6 Non-text elements, placeholder text
#AF5E98 text on white 4.30:1 AA large text Lc 69.5 Content text, not long reading
#AF5E98 text on black 4.87:1 AA Lc -32.2 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

    #E9D1E1

    oklch(88.5% 0.034 338)

  4. Step 300

    300

    #DDB2CE

    oklch(81% 0.062 339.4)

  5. Step 400

    400

    #CA88B5

    oklch(70.7% 0.1 339.2)

  6. Step 500

    500 (this color)

    #AF5E98

    oklch(59.5% 0.128 338.8)

  7. Step 600

    600

    #A64F8E

    oklch(55.7% 0.138 339)

  8. Step 700

    700

    #8E3F79

    oklch(49.1% 0.129 338.8)

  9. Step 800

    800

    #733462

    oklch(42.6% 0.107 338.8)

  10. Step 900

    900

    #5D2E50

    oklch(37.6% 0.083 338.6)

  11. Step 950

    950

    #371C2F

    oklch(27.1% 0.052 339)

Export this scale for Tailwind in the Tailwind colors tool

#AF5E98 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)#61729A0.131
Deuteranopia (no green cones)#767E960.119
Tritanopia (no blue cones)#B760740.059
Achromatopsia (no color)#7A7A7A0.129

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF5E98

    #AF5E98

    oklch(59.5% 0.128 338.8)

  • #1F9562

    #1F9562

    oklch(59.5% 0.127 158.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF5E98

    #AF5E98

    oklch(59.5% 0.128 338.8)

  • #9568B8

    #9568B8

    oklch(59.6% 0.127 308.9)

  • #BD5B6F

    #BD5B6F

    oklch(59.6% 0.127 8.9)

Open the analogous palette in the generator

Split complementary

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

  • #AF5E98

    #AF5E98

    oklch(59.5% 0.128 338.8)

  • #678D31

    #678D31

    oklch(59.5% 0.128 128.8)

  • #00928B

    #00928B

    oklch(59.5% 0.103 188.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF5E98

    #AF5E98

    oklch(59.5% 0.128 338.8)

  • #927F00

    #927F00

    oklch(59.6% 0.123 98.7)

  • #008DAA

    #008DAA

    oklch(59.5% 0.108 219.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF5E98

    #AF5E98

    oklch(59.5% 0.128 338.8)

  • #AF6E08

    #AF6E08

    oklch(59.5% 0.128 68.7)

  • #1F9562

    #1F9562

    oklch(59.5% 0.127 158.9)

  • #3883C7

    #3883C7

    oklch(59.5% 0.128 249)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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