#AB307A

Closest named color: Medium Violet Red (#C71585). oklch(51.9% 0.175 348), rgb(171, 48, 122).

Aa

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

About this color

#AB307A is a medium-dark, vivid red. In OKLCH its lightness is 52%, its chroma 0.175 and its hue 348°. Its hue sits on the warm side of the wheel. The nearest named color is Medium Violet Red (#C71585), ΔE 0.059 away. White text reads best on it, at 6.11:1.

Hue familyReds
Lightnessmedium-dark (52%)
Chromavivid (0.175)
Temperaturewarm
Nearest nameMedium Violet Red (#C71585)
Black text3.43:1
White text6.11:1

Values

HEX#AB307A
RGBrgb(171, 48, 122)
HSLhsl(324, 56%, 43%)
OKLCHoklch(51.9% 0.175 348)

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 #AB307A 6.11:1 AA Lc -84.7 Fine for body text
Black text on #AB307A 3.43:1 AA large text Lc 24.6 Dividers and decoration only
#AB307A text on white 6.11:1 AA Lc 79.4 Fine for body text
#AB307A 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

    #FCF3F7

    oklch(97.2% 0.011 348.4)

  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

    #EAABCA

    oklch(80.9% 0.084 348.1)

  5. Step 400

    400

    #DD7BAF

    oklch(70.6% 0.136 348.1)

  6. Step 500

    500

    #D1569C

    oklch(63.2% 0.173 347.9)

  7. Step 600

    600

    #BC3586

    oklch(55.6% 0.188 348.1)

  8. Step 700

    700 (this color)

    #AB307A

    oklch(51.9% 0.175 348)

  9. Step 800

    800

    #83225D

    oklch(42.7% 0.145 347.6)

  10. Step 900

    900

    #6A224C

    oklch(37.7% 0.114 347.9)

  11. Step 950

    950

    #3E152C

    oklch(26.9% 0.071 348.2)

Export this scale for Tailwind in the Tailwind colors tool

#AB307A 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)#41547C0.194
Deuteranopia (no green cones)#656A770.172
Tritanopia (no blue cones)#B72B510.068
Achromatopsia (no color)#6262620.176

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB307A

    #AB307A

    oklch(51.9% 0.175 348)

  • #007B5D

    #007B5D

    oklch(51.8% 0.104 168.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB307A

    #AB307A

    oklch(51.9% 0.175 348)

  • #903EA8

    #903EA8

    oklch(51.8% 0.175 317.9)

  • #B72C41

    #B72C41

    oklch(51.8% 0.174 17.8)

Open the analogous palette in the generator

Split complementary

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

  • #AB307A

    #AB307A

    oklch(51.9% 0.175 348)

  • #317C00

    #317C00

    oklch(51.8% 0.16 137.9)

  • #00787B

    #00787B

    oklch(52% 0.088 197.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB307A

    #AB307A

    oklch(51.9% 0.175 348)

  • #6F6D00

    #6F6D00

    oklch(52% 0.112 108.5)

  • #007396

    #007396

    oklch(51.9% 0.101 228)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB307A

    #AB307A

    oklch(51.9% 0.175 348)

  • #8A5F00

    #8A5F00

    oklch(51.8% 0.108 77.9)

  • #007B5D

    #007B5D

    oklch(51.8% 0.104 168.3)

  • #1764CA

    #1764CA

    oklch(51.9% 0.174 257.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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