#AB2894

Closest named color: Warm Purple (#952E8F). oklch(52.4% 0.2 336.3), rgb(171, 40, 148).

Aa

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

About this color

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

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

Values

HEX#AB2894
RGBrgb(171, 40, 148)
HSLhsl(311, 62%, 41%)
OKLCHoklch(52.4% 0.2 336.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 #AB2894 6.06:1 AA Lc -84.2 Fine for body text
Black text on #AB2894 3.46:1 AA large text Lc 25.1 Dividers and decoration only
#AB2894 text on white 6.06:1 AA Lc 79.0 Fine for body text
#AB2894 text on black 3.46:1 AA large text Lc -22.8 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

    #FBF3F8

    oklch(97.2% 0.011 339.3)

  2. Step 100

    100

    #F6E4F0

    oklch(93.7% 0.025 337.8)

  3. Step 200

    200

    #F0CDE6

    oklch(88.5% 0.051 336.3)

  4. Step 300

    300

    #E6ABD7

    oklch(80.9% 0.089 335.8)

  5. Step 400

    400

    #D87BC2

    oklch(70.7% 0.145 336.4)

  6. Step 500

    500

    #CB55B2

    oklch(63.1% 0.184 336.6)

  7. Step 600

    600 (this color)

    #AB2894

    oklch(52.4% 0.2 336.3)

  8. Step 700

    700

    #9C2587

    oklch(49.1% 0.186 336.3)

  9. Step 800

    800

    #7F216E

    oklch(42.7% 0.155 336.2)

  10. Step 900

    900

    #662259

    oklch(37.6% 0.12 336)

  11. Step 950

    950

    #3C1534

    oklch(26.9% 0.076 336.1)

Export this scale for Tailwind in the Tailwind colors tool

#AB2894 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)#2B56970.220
Deuteranopia (no green cones)#5969910.187
Tritanopia (no blue cones)#B4325C0.098
Achromatopsia (no color)#6262620.202

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB2894

    #AB2894

    oklch(52.4% 0.2 336.3)

  • #007F4A

    #007F4A

    oklch(52.4% 0.127 156.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB2894

    #AB2894

    oklch(52.4% 0.2 336.3)

  • #883DC2

    #883DC2

    oklch(52.4% 0.2 306.5)

  • #BF1557

    #BF1557

    oklch(52.3% 0.2 6.5)

Open the analogous palette in the generator

Split complementary

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

  • #AB2894

    #AB2894

    oklch(52.4% 0.2 336.3)

  • #567700

    #567700

    oklch(52.4% 0.134 126.4)

  • #007B72

    #007B72

    oklch(52.4% 0.092 185.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB2894

    #AB2894

    oklch(52.4% 0.2 336.3)

  • #7C6900

    #7C6900

    oklch(52.3% 0.108 96.6)

  • #00778D

    #00778D

    oklch(52.5% 0.094 216.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB2894

    #AB2894

    oklch(52.4% 0.2 336.3)

  • #965A00

    #965A00

    oklch(52.4% 0.116 66.4)

  • #007F4A

    #007F4A

    oklch(52.4% 0.127 156.2)

  • #006FB3

    #006FB3

    oklch(52.5% 0.135 246.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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