#AB5F97

Closest named color: Dark Lilac (#9C6DA5). oklch(59.1% 0.122 337.7), rgb(171, 95, 151).

Aa

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

About this color

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

Hue familyPinks
Lightnessmedium-dark (59%)
Chromamoderately saturated (0.122)
Temperaturewarm
Nearest nameDark Lilac (#9C6DA5)
Black text4.81:1
White text4.36:1

Values

HEX#AB5F97
RGBrgb(171, 95, 151)
HSLhsl(316, 31%, 52%)
OKLCHoklch(59.1% 0.122 337.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 #AB5F97 4.36:1 AA large text Lc -75.4 Fine for body text
Black text on #AB5F97 4.81:1 AA Lc 34.2 Non-text elements, placeholder text
#AB5F97 text on white 4.36:1 AA large text Lc 69.9 Content text, not long reading
#AB5F97 text on black 4.81:1 AA Lc -31.7 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 600.

  1. Step 50

    50

    #F9F4F7

    oklch(97.2% 0.007 340.4)

  2. Step 100

    100

    #F1E6EE

    oklch(93.6% 0.016 335.1)

  3. Step 200

    200

    #E7D2E0

    oklch(88.5% 0.03 337.9)

  4. Step 300

    300

    #D9B4CD

    oklch(81% 0.054 338.1)

  5. Step 400

    400

    #C58BB4

    oklch(70.7% 0.089 337.8)

  6. Step 500

    500

    #B56EA1

    oklch(63.2% 0.112 338.1)

  7. Step 600

    600 (this color)

    #AB5F97

    oklch(59.1% 0.122 337.7)

  8. Step 700

    700

    #884577

    oklch(49.1% 0.112 337.6)

  9. Step 800

    800

    #6F3961

    oklch(42.7% 0.094 337.7)

  10. Step 900

    900

    #5A314F

    oklch(37.6% 0.074 337.8)

  11. Step 950

    950

    #351D2E

    oklch(27% 0.046 338.5)

Export this scale for Tailwind in the Tailwind colors tool

#AB5F97 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)#6172990.124
Deuteranopia (no green cones)#757D950.112
Tritanopia (no blue cones)#B261740.057
Achromatopsia (no color)#7979790.123

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB5F97

    #AB5F97

    oklch(59.1% 0.122 337.7)

  • #2B9361

    #2B9361

    oklch(59.2% 0.122 157.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB5F97

    #AB5F97

    oklch(59.1% 0.122 337.7)

  • #9168B5

    #9168B5

    oklch(59% 0.122 307.6)

  • #B95C70

    #B95C70

    oklch(59.2% 0.121 7.9)

Open the analogous palette in the generator

Split complementary

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

  • #AB5F97

    #AB5F97

    oklch(59.1% 0.122 337.7)

  • #698B34

    #698B34

    oklch(59.2% 0.122 127.8)

  • #009189

    #009189

    oklch(59.2% 0.103 188)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB5F97

    #AB5F97

    oklch(59.1% 0.122 337.7)

  • #917D01

    #917D01

    oklch(59% 0.122 97.9)

  • #008CA7

    #008CA7

    oklch(59.1% 0.106 217.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB5F97

    #AB5F97

    oklch(59.1% 0.122 337.7)

  • #AD6E18

    #AD6E18

    oklch(59.3% 0.122 67.9)

  • #2B9361

    #2B9361

    oklch(59.2% 0.122 157.9)

  • #3982C2

    #3982C2

    oklch(59% 0.122 248)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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