#AB3F8D

Closest named color: Warm Purple (#952E8F). oklch(54.3% 0.167 340.2), rgb(171, 63, 141).

Aa

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

About this color

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

Hue familyPinks
Lightnessmedium-dark (54%)
Chromavivid (0.167)
Temperaturewarm
Nearest nameWarm Purple (#952E8F)
Black text3.82:1
White text5.48:1

Values

HEX#AB3F8D
RGBrgb(171, 63, 141)
HSLhsl(317, 46%, 46%)
OKLCHoklch(54.3% 0.167 340.2)

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 #AB3F8D 5.48:1 AA Lc -82.0 Fine for body text
Black text on #AB3F8D 3.82:1 AA large text Lc 27.4 Dividers and decoration only
#AB3F8D text on white 5.48:1 AA Lc 76.6 Fine for body text
#AB3F8D text on black 3.82:1 AA large text Lc -25.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

    #FAF3F7

    oklch(97.1% 0.009 341.8)

  2. Step 100

    100

    #F5E5EE

    oklch(93.7% 0.021 342.5)

  3. Step 200

    200

    #EDCFE2

    oklch(88.5% 0.042 339.7)

  4. Step 300

    300

    #E3AED0

    oklch(80.9% 0.076 340.2)

  5. Step 400

    400

    #D282B8

    oklch(70.7% 0.12 340)

  6. Step 500

    500

    #C460A6

    oklch(63.1% 0.152 340.1)

  7. Step 600

    600 (this color)

    #AB3F8D

    oklch(54.3% 0.167 340.2)

  8. Step 700

    700

    #96347B

    oklch(49% 0.154 340.2)

  9. Step 800

    800

    #7A2C64

    oklch(42.6% 0.128 340.3)

  10. Step 900

    900

    #632952

    oklch(37.8% 0.1 340.2)

  11. Step 950

    950

    #3A1930

    oklch(27.1% 0.062 340)

Export this scale for Tailwind in the Tailwind colors tool

#AB3F8D 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)#455E8F0.179
Deuteranopia (no green cones)#666F8A0.157
Tritanopia (no blue cones)#B541600.076
Achromatopsia (no color)#6969690.168

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB3F8D

    #AB3F8D

    oklch(54.3% 0.167 340.2)

  • #008556

    #008556

    oklch(54.4% 0.123 159.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB3F8D

    #AB3F8D

    oklch(54.3% 0.167 340.2)

  • #8D4DB6

    #8D4DB6

    oklch(54.3% 0.166 310.1)

  • #BB3959

    #BB3959

    oklch(54.3% 0.166 10.1)

Open the analogous palette in the generator

Split complementary

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

  • #AB3F8D

    #AB3F8D

    oklch(54.3% 0.167 340.2)

  • #517F00

    #517F00

    oklch(54.2% 0.147 130.3)

  • #00807C

    #00807C

    oklch(54.2% 0.093 190.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB3F8D

    #AB3F8D

    oklch(54.3% 0.167 340.2)

  • #7F7000

    #7F7000

    oklch(54.2% 0.113 100)

  • #007C97

    #007C97

    oklch(54.2% 0.099 220.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB3F8D

    #AB3F8D

    oklch(54.3% 0.167 340.2)

  • #9A6100

    #9A6100

    oklch(54.2% 0.117 70)

  • #008556

    #008556

    oklch(54.4% 0.123 159.9)

  • #0072C5

    #0072C5

    oklch(54.4% 0.154 250.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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