#AB2E8F

Closest named color: Warm Purple (#952E8F). oklch(52.6% 0.19 338.5), rgb(171, 46, 143).

Aa

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

About this color

#AB2E8F is a medium-dark, vivid pink. In OKLCH its lightness is 53%, its chroma 0.190 and its hue 338°. 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 5.96:1.

Hue familyPinks
Lightnessmedium-dark (53%)
Chromavivid (0.190)
Temperaturewarm
Nearest nameWarm Purple (#952E8F)
Black text3.51:1
White text5.96:1

Values

HEX#AB2E8F
RGBrgb(171, 46, 143)
HSLhsl(313, 58%, 43%)
OKLCHoklch(52.6% 0.19 338.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 #AB2E8F 5.96:1 AA Lc -83.9 Fine for body text
Black text on #AB2E8F 3.51:1 AA large text Lc 25.4 Dividers and decoration only
#AB2E8F text on white 5.96:1 AA Lc 78.7 Fine for body text
#AB2E8F text on black 3.51:1 AA large text Lc -23.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

    #FBF3F8

    oklch(97.2% 0.011 339.3)

  2. Step 100

    100

    #F6E4EF

    oklch(93.6% 0.024 340.3)

  3. Step 200

    200

    #EFCEE4

    oklch(88.6% 0.047 338.3)

  4. Step 300

    300

    #E6ACD3

    oklch(81% 0.084 339)

  5. Step 400

    400

    #D77DBD

    oklch(70.7% 0.136 338.7)

  6. Step 500

    500

    #CA58AD

    oklch(63.1% 0.175 338.4)

  7. Step 600

    600 (this color)

    #AB2E8F

    oklch(52.6% 0.19 338.5)

  8. Step 700

    700

    #9B2982

    oklch(49% 0.177 338.2)

  9. Step 800

    800

    #7E2469

    oklch(42.6% 0.146 338.6)

  10. Step 900

    900

    #662456

    oklch(37.7% 0.114 338.3)

  11. Step 950

    950

    #3C1632

    oklch(27% 0.072 338.7)

Export this scale for Tailwind in the Tailwind colors tool

#AB2E8F 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)#3457920.208
Deuteranopia (no green cones)#5D6A8C0.179
Tritanopia (no blue cones)#B5345B0.090
Achromatopsia (no color)#6363630.192

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB2E8F

    #AB2E8F

    oklch(52.6% 0.19 338.5)

  • #007F4F

    #007F4F

    oklch(52.6% 0.122 158.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB2E8F

    #AB2E8F

    oklch(52.6% 0.19 338.5)

  • #8A40BC

    #8A40BC

    oklch(52.6% 0.191 308.7)

  • #BD2254

    #BD2254

    oklch(52.6% 0.19 8.7)

Open the analogous palette in the generator

Split complementary

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

  • #AB2E8F

    #AB2E8F

    oklch(52.6% 0.19 338.5)

  • #527900

    #527900

    oklch(52.7% 0.139 128.6)

  • #007B75

    #007B75

    oklch(52.6% 0.091 188.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB2E8F

    #AB2E8F

    oklch(52.6% 0.19 338.5)

  • #7B6B00

    #7B6B00

    oklch(52.7% 0.109 98.9)

  • #00778F

    #00778F

    oklch(52.6% 0.095 218.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB2E8F

    #AB2E8F

    oklch(52.6% 0.19 338.5)

  • #955C00

    #955C00

    oklch(52.6% 0.115 68.6)

  • #007F4F

    #007F4F

    oklch(52.6% 0.122 158.4)

  • #006EB9

    #006EB9

    oklch(52.7% 0.144 248.6)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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