#AB2F7D

Closest named color: Warm Purple (#952E8F). oklch(51.9% 0.178 346.5), rgb(171, 47, 125).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (52%)
Chromavivid (0.178)
Temperaturewarm
Nearest nameWarm Purple (#952E8F)
Black text3.43:1
White text6.11:1

Values

HEX#AB2F7D
RGBrgb(171, 47, 125)
HSLhsl(322, 57%, 43%)
OKLCHoklch(51.9% 0.178 346.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 #AB2F7D 6.11:1 AA Lc -84.6 Fine for body text
Black text on #AB2F7D 3.43:1 AA large text Lc 24.6 Dividers and decoration only
#AB2F7D text on white 6.11:1 AA Lc 79.4 Fine for body text
#AB2F7D text on black 3.43:1 AA large text Lc -22.4 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

    #FCF2F7

    oklch(97% 0.013 345.5)

  2. Step 100

    100

    #F7E4ED

    oklch(93.7% 0.024 347.2)

  3. Step 200

    200

    #F2CDDF

    oklch(88.5% 0.048 347.2)

  4. Step 300

    300

    #EAAACC

    oklch(80.8% 0.086 346.1)

  5. Step 400

    400

    #DD7BB2

    oklch(70.7% 0.137 346.4)

  6. Step 500

    500

    #D1559F

    oklch(63.2% 0.176 346.5)

  7. Step 600

    600

    #BC348A

    oklch(55.6% 0.191 346.3)

  8. Step 700

    700 (this color)

    #AB2F7D

    oklch(51.9% 0.178 346.5)

  9. Step 800

    800

    #83215F

    oklch(42.6% 0.147 346.3)

  10. Step 900

    900

    #6A224E

    oklch(37.7% 0.115 346.3)

  11. Step 950

    950

    #3E152E

    oklch(27% 0.073 345.5)

Export this scale for Tailwind in the Tailwind colors tool

#AB2F7D 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)#3F547F0.197
Deuteranopia (no green cones)#646A7A0.174
Tritanopia (no blue cones)#B72C520.072
Achromatopsia (no color)#6262620.179

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB2F7D

    #AB2F7D

    oklch(51.9% 0.178 346.5)

  • #007C5B

    #007C5B

    oklch(52% 0.107 166.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB2F7D

    #AB2F7D

    oklch(51.9% 0.178 346.5)

  • #8F3EAB

    #8F3EAB

    oklch(51.8% 0.178 316.4)

  • #B82A43

    #B82A43

    oklch(51.9% 0.177 16.6)

Open the analogous palette in the generator

Split complementary

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

  • #AB2F7D

    #AB2F7D

    oklch(51.9% 0.178 346.5)

  • #387B00

    #387B00

    oklch(51.8% 0.155 136.4)

  • #00787A

    #00787A

    oklch(51.9% 0.088 196.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB2F7D

    #AB2F7D

    oklch(51.9% 0.178 346.5)

  • #716C00

    #716C00

    oklch(51.9% 0.111 106.5)

  • #007395

    #007395

    oklch(51.8% 0.1 227.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB2F7D

    #AB2F7D

    oklch(51.9% 0.178 346.5)

  • #8C5F00

    #8C5F00

    oklch(52% 0.109 76.6)

  • #007C5B

    #007C5B

    oklch(52% 0.107 166.4)

  • #0565CC

    #0565CC

    oklch(52% 0.178 256.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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