#AB2195

Closest named color: Warm Purple (#952E8F). oklch(52% 0.207 335.9), rgb(171, 33, 149).

Aa

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

About this color

#AB2195 is a medium-dark, vivid pink. In OKLCH its lightness is 52%, its chroma 0.207 and its hue 336°. 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.20:1.

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

Values

HEX#AB2195
RGBrgb(171, 33, 149)
HSLhsl(310, 68%, 40%)
OKLCHoklch(52% 0.207 335.9)

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 #AB2195 6.20:1 AA Lc -84.7 Fine for body text
Black text on #AB2195 3.38:1 AA large text Lc 24.6 Dividers and decoration only
#AB2195 text on white 6.20:1 AA Lc 79.5 Fine for body text
#AB2195 text on black 3.38: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

    #FCF2F9

    oklch(97.1% 0.014 336.1)

  2. Step 100

    100

    #F7E3F1

    oklch(93.6% 0.028 336.4)

  3. Step 200

    200

    #F2CCE7

    oklch(88.5% 0.055 336.5)

  4. Step 300

    300

    #EAA8DA

    oklch(80.9% 0.101 335.5)

  5. Step 400

    400

    #DD76C6

    oklch(70.7% 0.16 336.2)

  6. Step 500

    500

    #D04CB8

    oklch(63.1% 0.204 335.6)

  7. Step 600

    600

    #BC24A4

    oklch(55.7% 0.223 335.8)

  8. Step 700

    700 (this color)

    #AB2195

    oklch(52% 0.207 335.9)

  9. Step 800

    800

    #831672

    oklch(42.7% 0.171 335.7)

  10. Step 900

    900

    #6A1C5C

    oklch(37.8% 0.134 336)

  11. Step 950

    950

    #3E1236

    oklch(26.9% 0.085 335.5)

Export this scale for Tailwind in the Tailwind colors tool

#AB2195 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)#2354980.230
Deuteranopia (no green cones)#5668920.194
Tritanopia (no blue cones)#B42D5B0.102
Achromatopsia (no color)#6161610.209

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB2195

    #AB2195

    oklch(52% 0.207 335.9)

  • #007D48

    #007D48

    oklch(51.8% 0.126 155.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB2195

    #AB2195

    oklch(52% 0.207 335.9)

  • #8739C4

    #8739C4

    oklch(52% 0.207 306)

  • #C00357

    #C00357

    oklch(52% 0.207 5.8)

Open the analogous palette in the generator

Split complementary

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

  • #AB2195

    #AB2195

    oklch(52% 0.207 335.9)

  • #567500

    #567500

    oklch(51.9% 0.132 125.8)

  • #007970

    #007970

    oklch(51.8% 0.091 185.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB2195

    #AB2195

    oklch(52% 0.207 335.9)

  • #7B6800

    #7B6800

    oklch(52% 0.107 96.5)

  • #00768A

    #00768A

    oklch(52.1% 0.092 214.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB2195

    #AB2195

    oklch(52% 0.207 335.9)

  • #955900

    #955900

    oklch(52% 0.116 66.1)

  • #007D48

    #007D48

    oklch(51.8% 0.126 155.8)

  • #006DB0

    #006DB0

    oklch(51.9% 0.134 246.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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