#AB1F92

Closest named color: Warm Purple (#952E8F). oklch(51.7% 0.207 337), rgb(171, 31, 146).

Aa

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

About this color

#AB1F92 is a medium-dark, vivid pink. In OKLCH its lightness is 52%, its chroma 0.207 and its hue 337°. 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.28:1.

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

Values

HEX#AB1F92
RGBrgb(171, 31, 146)
HSLhsl(311, 69%, 40%)
OKLCHoklch(51.7% 0.207 337)

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 #AB1F92 6.28:1 AA Lc -85.0 Fine for body text
Black text on #AB1F92 3.34:1 AA large text Lc 24.3 Dividers and decoration only
#AB1F92 text on white 6.28:1 AA Lc 79.8 Fine for body text
#AB1F92 text on black 3.34:1 AA large text Lc -22.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 700.

  1. Step 50

    50

    #FCF2F9

    oklch(97.1% 0.014 336.1)

  2. Step 100

    100

    #F7E3F1

    oklch(93.6% 0.028 336.4)

  3. Step 200

    200

    #F2CCE7

    oklch(88.5% 0.055 336.5)

  4. Step 300

    300

    #EBA8D8

    oklch(81% 0.1 337.3)

  5. Step 400

    400

    #DE76C5

    oklch(70.8% 0.16 336.9)

  6. Step 500

    500

    #D24BB6

    oklch(63.2% 0.206 336.9)

  7. Step 600

    600

    #BD23A1

    oklch(55.6% 0.223 337.1)

  8. Step 700

    700 (this color)

    #AB1F92

    oklch(51.7% 0.207 337)

  9. Step 800

    800

    #841570

    oklch(42.7% 0.171 337.1)

  10. Step 900

    900

    #6A1C5B

    oklch(37.7% 0.133 336.6)

  11. Step 950

    950

    #3F1235

    oklch(27.1% 0.085 337.5)

Export this scale for Tailwind in the Tailwind colors tool

#AB1F92 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)#2453950.231
Deuteranopia (no green cones)#57678F0.194
Tritanopia (no blue cones)#B42A590.100
Achromatopsia (no color)#6060600.209

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB1F92

    #AB1F92

    oklch(51.7% 0.207 337)

  • #007C4A

    #007C4A

    oklch(51.6% 0.123 157)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB1F92

    #AB1F92

    oklch(51.7% 0.207 337)

  • #8837C2

    #8837C2

    oklch(51.7% 0.207 307.1)

  • #BF0153

    #BF0153

    oklch(51.6% 0.207 7.1)

Open the analogous palette in the generator

Split complementary

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

  • #AB1F92

    #AB1F92

    oklch(51.7% 0.207 337)

  • #537500

    #537500

    oklch(51.7% 0.133 127.1)

  • #007871

    #007871

    oklch(51.6% 0.09 187.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB1F92

    #AB1F92

    oklch(51.7% 0.207 337)

  • #7A6700

    #7A6700

    oklch(51.7% 0.106 96.4)

  • #00748A

    #00748A

    oklch(51.5% 0.092 217.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB1F92

    #AB1F92

    oklch(51.7% 0.207 337)

  • #935900

    #935900

    oklch(51.8% 0.114 67.1)

  • #007C4A

    #007C4A

    oklch(51.6% 0.123 157)

  • #006CB1

    #006CB1

    oklch(51.7% 0.136 247)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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