#AB3286

Closest named color: Warm Purple (#952E8F). oklch(52.6% 0.179 342.6), rgb(171, 50, 134).

Aa

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

About this color

#AB3286 is a medium-dark, vivid pink. In OKLCH its lightness is 53%, its chroma 0.179 and its hue 343°. Its hue sits on the warm side of the wheel. The nearest named color is Warm Purple (#952E8F), ΔE 0.051 away. White text reads best on it, at 5.94:1.

Hue familyPinks
Lightnessmedium-dark (53%)
Chromavivid (0.179)
Temperaturewarm
Nearest nameWarm Purple (#952E8F)
Black text3.53:1
White text5.94:1

Values

HEX#AB3286
RGBrgb(171, 50, 134)
HSLhsl(318, 55%, 43%)
OKLCHoklch(52.6% 0.179 342.6)

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 #AB3286 5.94:1 AA Lc -83.9 Fine for body text
Black text on #AB3286 3.53:1 AA large text Lc 25.4 Dividers and decoration only
#AB3286 text on white 5.94:1 AA Lc 78.7 Fine for body text
#AB3286 text on black 3.53:1 AA large text Lc -23.1 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

    #FBF3F7

    oklch(97.1% 0.01 345.4)

  2. Step 100

    100

    #F6E4EE

    oklch(93.6% 0.024 342.9)

  3. Step 200

    200

    #EFCEE1

    oklch(88.5% 0.044 342.5)

  4. Step 300

    300

    #E6ACCF

    oklch(80.8% 0.081 342.2)

  5. Step 400

    400

    #D77EB6

    oklch(70.6% 0.13 342.6)

  6. Step 500

    500

    #CA5AA4

    oklch(63% 0.166 342.5)

  7. Step 600

    600 (this color)

    #AB3286

    oklch(52.6% 0.179 342.6)

  8. Step 700

    700

    #9C2D7A

    oklch(49.2% 0.167 342.6)

  9. Step 800

    800

    #7E2763

    oklch(42.6% 0.138 342.4)

  10. Step 900

    900

    #662651

    oklch(37.8% 0.107 342.4)

  11. Step 950

    950

    #3C172F

    oklch(27% 0.068 342.9)

Export this scale for Tailwind in the Tailwind colors tool

#AB3286 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)#3D57880.197
Deuteranopia (no green cones)#626B830.173
Tritanopia (no blue cones)#B633570.080
Achromatopsia (no color)#6464640.181

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB3286

    #AB3286

    oklch(52.6% 0.179 342.6)

  • #007E57

    #007E57

    oklch(52.5% 0.113 163)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB3286

    #AB3286

    oklch(52.6% 0.179 342.6)

  • #8D42B3

    #8D42B3

    oklch(52.6% 0.179 312.4)

  • #BA2A4D

    #BA2A4D

    oklch(52.5% 0.179 12.5)

Open the analogous palette in the generator

Split complementary

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

  • #AB3286

    #AB3286

    oklch(52.6% 0.179 342.6)

  • #477B00

    #477B00

    oklch(52.6% 0.147 132.6)

  • #007B78

    #007B78

    oklch(52.7% 0.09 191.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB3286

    #AB3286

    oklch(52.6% 0.179 342.6)

  • #776C00

    #776C00

    oklch(52.5% 0.11 102.4)

  • #007693

    #007693

    oklch(52.5% 0.098 222.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB3286

    #AB3286

    oklch(52.6% 0.179 342.6)

  • #915E00

    #915E00

    oklch(52.5% 0.112 72.6)

  • #007E57

    #007E57

    oklch(52.5% 0.113 163)

  • #006BC3

    #006BC3

    oklch(52.7% 0.16 252.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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