#AB4197

Closest named color: Purply (#983FB2). oklch(55% 0.171 335.8), rgb(171, 65, 151).

Aa

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

About this color

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

Hue familyPinks
Lightnessmedium-dark (55%)
Chromavivid (0.171)
Temperaturewarm
Nearest namePurply (#983FB2)
Black text3.93:1
White text5.33:1

Values

HEX#AB4197
RGBrgb(171, 65, 151)
HSLhsl(311, 45%, 46%)
OKLCHoklch(55% 0.171 335.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 #AB4197 5.33:1 AA Lc -81.2 Fine for body text
Black text on #AB4197 3.93:1 AA large text Lc 28.2 Dividers and decoration only
#AB4197 text on white 5.33:1 AA Lc 75.8 Fine for body text
#AB4197 text on black 3.93: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

    #D082BE

    oklch(70.7% 0.123 335.7)

  6. Step 500

    500

    #C260AE

    oklch(63.2% 0.157 335.6)

  7. Step 600

    600 (this color)

    #AB4197

    oklch(55% 0.171 335.8)

  8. Step 700

    700

    #943483

    oklch(49.1% 0.159 335.4)

  9. Step 800

    800

    #792C6A

    oklch(42.8% 0.132 336)

  10. Step 900

    900

    #622956

    oklch(37.8% 0.102 336.2)

  11. Step 950

    950

    #391932

    oklch(27% 0.063 336.1)

Export this scale for Tailwind in the Tailwind colors tool

#AB4197 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)#42619A0.181
Deuteranopia (no green cones)#6371940.159
Tritanopia (no blue cones)#B347660.084
Achromatopsia (no color)#6B6B6B0.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB4197

    #AB4197

    oklch(55% 0.171 335.8)

  • #00884E

    #00884E

    oklch(55.1% 0.135 155.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB4197

    #AB4197

    oklch(55% 0.171 335.8)

  • #8A50BF

    #8A50BF

    oklch(54.9% 0.171 305.6)

  • #BE3963

    #BE3963

    oklch(55.1% 0.171 5.7)

Open the analogous palette in the generator

Split complementary

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

  • #AB4197

    #AB4197

    oklch(55% 0.171 335.8)

  • #5E7F00

    #5E7F00

    oklch(55.1% 0.14 125.7)

  • #00837A

    #00837A

    oklch(54.9% 0.096 186.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB4197

    #AB4197

    oklch(55% 0.171 335.8)

  • #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.

  • #AB4197

    #AB4197

    oklch(55% 0.171 335.8)

  • #A16000

    #A16000

    oklch(55% 0.123 65.6)

  • #00884E

    #00884E

    oklch(55.1% 0.135 155.5)

  • #0076BE

    #0076BE

    oklch(54.9% 0.142 246.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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