#AB2C82

Closest named color: Warm Purple (#952E8F). oklch(51.9% 0.184 344), rgb(171, 44, 130).

Aa

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

About this color

#AB2C82 is a medium-dark, vivid pink. In OKLCH its lightness is 52%, its chroma 0.184 and its hue 344°. 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 6.15:1.

Hue familyPinks
Lightnessmedium-dark (52%)
Chromavivid (0.184)
Temperaturewarm
Nearest nameWarm Purple (#952E8F)
Black text3.41:1
White text6.15:1

Values

HEX#AB2C82
RGBrgb(171, 44, 130)
HSLhsl(319, 59%, 42%)
OKLCHoklch(51.9% 0.184 344)

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 #AB2C82 6.15:1 AA Lc -84.7 Fine for body text
Black text on #AB2C82 3.41:1 AA large text Lc 24.5 Dividers and decoration only
#AB2C82 text on white 6.15:1 AA Lc 79.5 Fine for body text
#AB2C82 text on black 3.41:1 AA large text Lc -22.3 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 700.

  1. Step 50

    50

    #FCF2F7

    oklch(97% 0.013 345.5)

  2. Step 100

    100

    #F7E3EE

    oklch(93.5% 0.026 343.3)

  3. Step 200

    200

    #F2CDE1

    oklch(88.5% 0.049 344.4)

  4. Step 300

    300

    #EAAACF

    oklch(80.9% 0.089 343.7)

  5. Step 400

    400

    #DD7AB6

    oklch(70.7% 0.142 344.1)

  6. Step 500

    500

    #D153A4

    oklch(63.1% 0.182 344.1)

  7. Step 600

    600

    #BC318F

    oklch(55.6% 0.198 344)

  8. Step 700

    700 (this color)

    #AB2C82

    oklch(51.9% 0.184 344)

  9. Step 800

    800

    #831F63

    oklch(42.6% 0.152 343.9)

  10. Step 900

    900

    #6A2151

    oklch(37.8% 0.118 343.9)

  11. Step 950

    950

    #3E142F

    oklch(26.8% 0.075 343.9)

Export this scale for Tailwind in the Tailwind colors tool

#AB2C82 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)#3A54840.204
Deuteranopia (no green cones)#61697F0.178
Tritanopia (no blue cones)#B62B530.079
Achromatopsia (no color)#6161610.186

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB2C82

    #AB2C82

    oklch(51.9% 0.184 344)

  • #007C57

    #007C57

    oklch(51.9% 0.111 163.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB2C82

    #AB2C82

    oklch(51.9% 0.184 344)

  • #8D3DB0

    #8D3DB0

    oklch(51.8% 0.183 313.9)

  • #BA2447

    #BA2447

    oklch(51.9% 0.184 14.1)

Open the analogous palette in the generator

Split complementary

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

  • #AB2C82

    #AB2C82

    oklch(51.9% 0.184 344)

  • #417A00

    #417A00

    oklch(52% 0.149 134.1)

  • #007877

    #007877

    oklch(51.8% 0.089 193.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB2C82

    #AB2C82

    oklch(51.9% 0.184 344)

  • #736B00

    #736B00

    oklch(51.9% 0.11 104.4)

  • #007492

    #007492

    oklch(51.9% 0.097 223.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB2C82

    #AB2C82

    oklch(51.9% 0.184 344)

  • #8D5D00

    #8D5D00

    oklch(51.8% 0.11 74.2)

  • #007C57

    #007C57

    oklch(51.9% 0.111 163.9)

  • #0067C4

    #0067C4

    oklch(51.8% 0.166 254.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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