#AB317E

Closest named color: Warm Purple (#952E8F). oklch(52.1% 0.176 346.2), rgb(171, 49, 126).

Aa

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

About this color

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

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

Values

HEX#AB317E
RGBrgb(171, 49, 126)
HSLhsl(322, 55%, 43%)
OKLCHoklch(52.1% 0.176 346.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 #AB317E 6.04:1 AA Lc -84.4 Fine for body text
Black text on #AB317E 3.47:1 AA large text Lc 24.9 Dividers and decoration only
#AB317E text on white 6.04:1 AA Lc 79.2 Fine for body text
#AB317E text on black 3.47: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

    #FCF3F7

    oklch(97.2% 0.011 348.4)

  2. Step 100

    100

    #F7E4ED

    oklch(93.7% 0.024 347.2)

  3. Step 200

    200

    #F2CDE0

    oklch(88.5% 0.048 345.8)

  4. Step 300

    300

    #EAABCC

    oklch(81% 0.085 346.4)

  5. Step 400

    400

    #DC7BB2

    oklch(70.6% 0.137 346.1)

  6. Step 500

    500

    #D0569F

    oklch(63.2% 0.173 346.3)

  7. Step 600

    600

    #BB358A

    oklch(55.6% 0.19 346.1)

  8. Step 700

    700 (this color)

    #AB317E

    oklch(52.1% 0.176 346.2)

  9. Step 800

    800

    #83225F

    oklch(42.7% 0.146 346.4)

  10. Step 900

    900

    #69224E

    oklch(37.6% 0.114 345.8)

  11. Step 950

    950

    #3E152E

    oklch(27% 0.073 345.5)

Export this scale for Tailwind in the Tailwind colors tool

#AB317E 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)#4055800.195
Deuteranopia (no green cones)#646A7B0.171
Tritanopia (no blue cones)#B72E530.072
Achromatopsia (no color)#6363630.177

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB317E

    #AB317E

    oklch(52.1% 0.176 346.2)

  • #007C5B

    #007C5B

    oklch(52% 0.107 166.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB317E

    #AB317E

    oklch(52.1% 0.176 346.2)

  • #8F40AC

    #8F40AC

    oklch(52.2% 0.176 315.8)

  • #B82C45

    #B82C45

    oklch(52.1% 0.175 16.2)

Open the analogous palette in the generator

Split complementary

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

  • #AB317E

    #AB317E

    oklch(52.1% 0.176 346.2)

  • #3A7C00

    #3A7C00

    oklch(52.2% 0.155 136.1)

  • #00797A

    #00797A

    oklch(52.2% 0.089 195.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB317E

    #AB317E

    oklch(52.1% 0.176 346.2)

  • #726D00

    #726D00

    oklch(52.2% 0.112 106.5)

  • #007495

    #007495

    oklch(52.1% 0.1 226.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB317E

    #AB317E

    oklch(52.1% 0.176 346.2)

  • #8D5F00

    #8D5F00

    oklch(52.2% 0.11 76)

  • #007C5B

    #007C5B

    oklch(52% 0.107 166.4)

  • #0666CB

    #0666CB

    oklch(52.2% 0.175 256)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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