#AB2987

Closest named color: Warm Purple (#952E8F). oklch(51.8% 0.19 341.6), rgb(171, 41, 135).

Aa

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

About this color

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

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

Values

HEX#AB2987
RGBrgb(171, 41, 135)
HSLhsl(317, 61%, 42%)
OKLCHoklch(51.8% 0.19 341.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 #AB2987 6.17:1 AA Lc -84.8 Fine for body text
Black text on #AB2987 3.39:1 AA large text Lc 24.5 Dividers and decoration only
#AB2987 text on white 6.17:1 AA Lc 79.6 Fine for body text
#AB2987 text on black 3.39: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

    #FCF2F8

    oklch(97.1% 0.013 340.5)

  2. Step 100

    100

    #F7E3EF

    oklch(93.5% 0.027 340.9)

  3. Step 200

    200

    #F2CCE3

    oklch(88.4% 0.052 341.3)

  4. Step 300

    300

    #EAA9D2

    oklch(80.8% 0.092 341.1)

  5. Step 400

    400

    #DD79BB

    oklch(70.7% 0.147 341.5)

  6. Step 500

    500

    #D151A9

    oklch(63.1% 0.188 341.9)

  7. Step 600

    600

    #BC2E95

    oklch(55.6% 0.205 341.5)

  8. Step 700

    700 (this color)

    #AB2987

    oklch(51.8% 0.19 341.6)

  9. Step 800

    800

    #831D67

    oklch(42.7% 0.157 341.5)

  10. Step 900

    900

    #6A1F54

    oklch(37.7% 0.123 341.5)

  11. Step 950

    950

    #3E1431

    oklch(27% 0.077 341.4)

Export this scale for Tailwind in the Tailwind colors tool

#AB2987 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)#35548A0.211
Deuteranopia (no green cones)#5F69840.182
Tritanopia (no blue cones)#B62B550.085
Achromatopsia (no color)#6161610.192

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB2987

    #AB2987

    oklch(51.8% 0.19 341.6)

  • #007C53

    #007C53

    oklch(51.8% 0.114 161.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB2987

    #AB2987

    oklch(51.8% 0.19 341.6)

  • #8C3CB6

    #8C3CB6

    oklch(51.9% 0.19 311.7)

  • #BC1D4B

    #BC1D4B

    oklch(51.9% 0.191 11.8)

Open the analogous palette in the generator

Split complementary

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

  • #AB2987

    #AB2987

    oklch(51.8% 0.19 341.6)

  • #487800

    #487800

    oklch(51.8% 0.143 131.7)

  • #007875

    #007875

    oklch(51.7% 0.089 191.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB2987

    #AB2987

    oklch(51.8% 0.19 341.6)

  • #766A00

    #766A00

    oklch(51.9% 0.109 101.6)

  • #00748F

    #00748F

    oklch(51.8% 0.095 221.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB2987

    #AB2987

    oklch(51.8% 0.19 341.6)

  • #8F5C00

    #8F5C00

    oklch(51.8% 0.111 72)

  • #007C53

    #007C53

    oklch(51.8% 0.114 161.6)

  • #0069BD

    #0069BD

    oklch(51.8% 0.154 251.9)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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