#AB307E

Closest named color: Warm Purple (#952E8F). oklch(52% 0.177 346.1), rgb(171, 48, 126).

Aa

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

About this color

#AB307E is a medium-dark, vivid red. In OKLCH its lightness is 52%, its chroma 0.177 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.07:1.

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

Values

HEX#AB307E
RGBrgb(171, 48, 126)
HSLhsl(322, 56%, 43%)
OKLCHoklch(52% 0.177 346.1)

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 #AB307E 6.07:1 AA Lc -84.5 Fine for body text
Black text on #AB307E 3.45:1 AA large text Lc 24.8 Dividers and decoration only
#AB307E text on white 6.07:1 AA Lc 79.3 Fine for body text
#AB307E text on black 3.45:1 AA large text Lc -22.5 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

    #F2CDE0

    oklch(88.5% 0.048 345.8)

  4. Step 300

    300

    #EAABCC

    oklch(81% 0.085 346.4)

  5. Step 400

    400

    #DD7BB2

    oklch(70.7% 0.137 346.4)

  6. Step 500

    500

    #D0559F

    oklch(63% 0.175 346.2)

  7. Step 600

    600

    #BB358A

    oklch(55.6% 0.19 346.1)

  8. Step 700

    700 (this color)

    #AB307E

    oklch(52% 0.177 346.1)

  9. Step 800

    800

    #83225F

    oklch(42.7% 0.146 346.4)

  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

#AB307E 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)#3F55800.197
Deuteranopia (no green cones)#646A7B0.172
Tritanopia (no blue cones)#B72D530.072
Achromatopsia (no color)#6262620.179

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB307E

    #AB307E

    oklch(52% 0.177 346.1)

  • #007C5B

    #007C5B

    oklch(52% 0.107 166.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB307E

    #AB307E

    oklch(52% 0.177 346.1)

  • #8F3FAC

    #8F3FAC

    oklch(52% 0.177 315.9)

  • #B82B45

    #B82B45

    oklch(52% 0.176 16)

Open the analogous palette in the generator

Split complementary

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

  • #AB307E

    #AB307E

    oklch(52% 0.177 346.1)

  • #3A7C00

    #3A7C00

    oklch(52.2% 0.155 136.1)

  • #00787A

    #00787A

    oklch(51.9% 0.088 196.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB307E

    #AB307E

    oklch(52% 0.177 346.1)

  • #726C00

    #726C00

    oklch(52% 0.111 105.8)

  • #007495

    #007495

    oklch(52.1% 0.1 226.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB307E

    #AB307E

    oklch(52% 0.177 346.1)

  • #8C5F00

    #8C5F00

    oklch(52% 0.109 76.6)

  • #007C5B

    #007C5B

    oklch(52% 0.107 166.4)

  • #0265CC

    #0265CC

    oklch(52% 0.178 256.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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