#AB4297

Closest named color: Purply (#983FB2). oklch(55.1% 0.17 335.8), rgb(171, 66, 151).

Aa

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

About this color

#AB4297 is a medium-dark, vivid pink. In OKLCH its lightness is 55%, its chroma 0.170 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.30:1.

Hue familyPinks
Lightnessmedium-dark (55%)
Chromavivid (0.170)
Temperaturewarm
Nearest namePurply (#983FB2)
Black text3.95:1
White text5.30:1

Values

HEX#AB4297
RGBrgb(171, 66, 151)
HSLhsl(311, 44%, 46%)
OKLCHoklch(55.1% 0.17 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 #AB4297 5.30:1 AA Lc -81.0 Fine for body text
Black text on #AB4297 3.95:1 AA large text Lc 28.4 Dividers and decoration only
#AB4297 text on white 5.30:1 AA Lc 75.7 Fine for body text
#AB4297 text on black 3.95:1 AA large text Lc -26.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

    #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

    #C260AD

    oklch(63.1% 0.156 336)

  7. Step 600

    600 (this color)

    #AB4297

    oklch(55.1% 0.17 335.8)

  8. Step 700

    700

    #943482

    oklch(49% 0.158 335.9)

  9. Step 800

    800

    #782D6A

    oklch(42.7% 0.13 335.6)

  10. Step 900

    900

    #612956

    oklch(37.6% 0.101 335.5)

  11. Step 950

    950

    #391932

    oklch(27% 0.063 336.1)

Export this scale for Tailwind in the Tailwind colors tool

#AB4297 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)#43619A0.179
Deuteranopia (no green cones)#6371940.158
Tritanopia (no blue cones)#B348660.084
Achromatopsia (no color)#6B6B6B0.171

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB4297

    #AB4297

    oklch(55.1% 0.17 335.8)

  • #00884F

    #00884F

    oklch(55.1% 0.134 155.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB4297

    #AB4297

    oklch(55.1% 0.17 335.8)

  • #8B51BF

    #8B51BF

    oklch(55.2% 0.17 305.9)

  • #BD3A63

    #BD3A63

    oklch(55% 0.169 5.7)

Open the analogous palette in the generator

Split complementary

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

  • #AB4297

    #AB4297

    oklch(55.1% 0.17 335.8)

  • #5E7F00

    #5E7F00

    oklch(55.1% 0.14 125.7)

  • #00847A

    #00847A

    oklch(55.2% 0.097 185.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB4297

    #AB4297

    oklch(55.1% 0.17 335.8)

  • #867100

    #867100

    oklch(55.2% 0.114 96.1)

  • #007F96

    #007F96

    oklch(55% 0.098 216.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB4297

    #AB4297

    oklch(55.1% 0.17 335.8)

  • #A16000

    #A16000

    oklch(55% 0.123 65.6)

  • #00884F

    #00884F

    oklch(55.1% 0.134 155.9)

  • #0077BE

    #0077BE

    oklch(55.1% 0.141 245.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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