#AB4198

Closest named color: Purply (#983FB2). oklch(55% 0.172 335.3), rgb(171, 65, 152).

Aa

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

About this color

#AB4198 is a medium-dark, vivid pink. In OKLCH its lightness is 55%, its chroma 0.172 and its hue 335°. Its hue sits on the warm side of the wheel. The nearest named color is Purply (#983FB2), ΔE 0.059 away. White text reads best on it, at 5.32:1.

Hue familyPinks
Lightnessmedium-dark (55%)
Chromavivid (0.172)
Temperaturewarm
Nearest namePurply (#983FB2)
Black text3.94:1
White text5.32:1

Values

HEX#AB4198
RGBrgb(171, 65, 152)
HSLhsl(311, 45%, 46%)
OKLCHoklch(55% 0.172 335.3)

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 #AB4198 5.32:1 AA Lc -81.1 Fine for body text
Black text on #AB4198 3.94:1 AA large text Lc 28.3 Dividers and decoration only
#AB4198 text on white 5.32:1 AA Lc 75.8 Fine for body text
#AB4198 text on black 3.94:1 AA large text Lc -25.9 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

    #F4E5F0

    oklch(93.7% 0.022 334.9)

  3. Step 200

    200

    #ECCFE4

    oklch(88.5% 0.043 335.7)

  4. Step 300

    300

    #E1AED4

    oklch(80.9% 0.077 335.6)

  5. Step 400

    400

    #D082BF

    oklch(70.8% 0.124 335.2)

  6. Step 500

    500

    #C25FAE

    oklch(63% 0.159 335.5)

  7. Step 600

    600 (this color)

    #AB4198

    oklch(55% 0.172 335.3)

  8. Step 700

    700

    #943483

    oklch(49.1% 0.159 335.4)

  9. Step 800

    800

    #782C6B

    oklch(42.6% 0.132 334.9)

  10. Step 900

    900

    #612957

    oklch(37.7% 0.102 334.7)

  11. Step 950

    950

    #391933

    oklch(27% 0.064 334.7)

Export this scale for Tailwind in the Tailwind colors tool

#AB4198 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)#41619B0.182
Deuteranopia (no green cones)#6371950.159
Tritanopia (no blue cones)#B347660.086
Achromatopsia (no color)#6B6B6B0.173

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB4198

    #AB4198

    oklch(55% 0.172 335.3)

  • #00884D

    #00884D

    oklch(55.1% 0.136 155.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB4198

    #AB4198

    oklch(55% 0.172 335.3)

  • #8A50C0

    #8A50C0

    oklch(55% 0.172 305.3)

  • #BE3863

    #BE3863

    oklch(55% 0.172 5.5)

Open the analogous palette in the generator

Split complementary

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

  • #AB4198

    #AB4198

    oklch(55% 0.172 335.3)

  • #5F7F00

    #5F7F00

    oklch(55.1% 0.139 125.3)

  • #008479

    #008479

    oklch(55.1% 0.097 184.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB4198

    #AB4198

    oklch(55% 0.172 335.3)

  • #867000

    #867000

    oklch(55% 0.113 95.3)

  • #007F95

    #007F95

    oklch(54.9% 0.097 215.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB4198

    #AB4198

    oklch(55% 0.172 335.3)

  • #A16000

    #A16000

    oklch(55% 0.123 65.6)

  • #00884D

    #00884D

    oklch(55.1% 0.136 155.1)

  • #0077BD

    #0077BD

    oklch(55.1% 0.14 245.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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