#AB2B8A

Closest named color: Warm Purple (#952E8F). oklch(52.1% 0.19 340.5), rgb(171, 43, 138).

Aa

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

About this color

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

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

Values

HEX#AB2B8A
RGBrgb(171, 43, 138)
HSLhsl(315, 60%, 42%)
OKLCHoklch(52.1% 0.19 340.5)

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 #AB2B8A 6.09:1 AA Lc -84.5 Fine for body text
Black text on #AB2B8A 3.44:1 AA large text Lc 24.8 Dividers and decoration only
#AB2B8A text on white 6.09:1 AA Lc 79.2 Fine for body text
#AB2B8A text on black 3.44:1 AA large text Lc -22.6 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

    #F2CDE4

    oklch(88.6% 0.051 340.5)

  4. Step 300

    300

    #EAA9D3

    oklch(80.9% 0.093 340.4)

  5. Step 400

    400

    #DC79BC

    oklch(70.7% 0.147 340.6)

  6. Step 500

    500

    #D051AC

    oklch(63.1% 0.189 340.4)

  7. Step 600

    600

    #BB2F97

    oklch(55.6% 0.204 340.5)

  8. Step 700

    700 (this color)

    #AB2B8A

    oklch(52.1% 0.19 340.5)

  9. Step 800

    800

    #831D69

    oklch(42.8% 0.158 340.4)

  10. Step 900

    900

    #692055

    oklch(37.7% 0.122 340.4)

  11. Step 950

    950

    #3E1432

    oklch(27% 0.078 340.2)

Export this scale for Tailwind in the Tailwind colors tool

#AB2B8A 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)#35558D0.210
Deuteranopia (no green cones)#5E69870.181
Tritanopia (no blue cones)#B52F570.087
Achromatopsia (no color)#6262620.192

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB2B8A

    #AB2B8A

    oklch(52.1% 0.19 340.5)

  • #007D52

    #007D52

    oklch(52.1% 0.117 160.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB2B8A

    #AB2B8A

    oklch(52.1% 0.19 340.5)

  • #8B3EB8

    #8B3EB8

    oklch(52.2% 0.189 310.5)

  • #BC1F4F

    #BC1F4F

    oklch(52.1% 0.19 10.3)

Open the analogous palette in the generator

Split complementary

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

  • #AB2B8A

    #AB2B8A

    oklch(52.1% 0.19 340.5)

  • #4C7800

    #4C7800

    oklch(52% 0.141 130.4)

  • #007975

    #007975

    oklch(52% 0.09 190.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB2B8A

    #AB2B8A

    oklch(52.1% 0.19 340.5)

  • #786A00

    #786A00

    oklch(52.1% 0.108 100.2)

  • #00758F

    #00758F

    oklch(52% 0.095 220.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB2B8A

    #AB2B8A

    oklch(52.1% 0.19 340.5)

  • #925C00

    #925C00

    oklch(52.2% 0.113 70.3)

  • #007D52

    #007D52

    oklch(52.1% 0.117 160.6)

  • #006BBB

    #006BBB

    oklch(52.1% 0.15 250.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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