#AB1A78

Closest named color: Red Violet (#9E0168). oklch(50.2% 0.195 347.4), rgb(171, 26, 120).

Aa

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

About this color

#AB1A78 is a medium-dark, vivid red. In OKLCH its lightness is 50%, its chroma 0.195 and its hue 347°. Its hue sits on the warm side of the wheel. The nearest named color is Red Violet (#9E0168), ΔE 0.041 away. White text reads best on it, at 6.66:1.

Hue familyReds
Lightnessmedium-dark (50%)
Chromavivid (0.195)
Temperaturewarm
Nearest nameRed Violet (#9E0168)
Black text3.15:1
White text6.66:1

Values

HEX#AB1A78
RGBrgb(171, 26, 120)
HSLhsl(321, 74%, 39%)
OKLCHoklch(50.2% 0.195 347.4)

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 #AB1A78 6.66:1 AA Lc -86.4 Fine for body text
Black text on #AB1A78 3.15:1 AA large text Lc 22.8 Dividers and decoration only
#AB1A78 text on white 6.66:1 AA Lc 81.3 Fine for body text
#AB1A78 text on black 3.15:1 AA large text Lc -20.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

    #FCF2F7

    oklch(97% 0.013 345.5)

  2. Step 100

    100

    #F9E3ED

    oklch(93.6% 0.027 348.3)

  3. Step 200

    200

    #F5CCE0

    oklch(88.6% 0.053 347.3)

  4. Step 300

    300

    #EFA8CC

    oklch(81% 0.095 347.6)

  5. Step 400

    400

    #E376B2

    oklch(70.7% 0.151 347.5)

  6. Step 500

    500

    #D74C9F

    oklch(63% 0.193 347.2)

  7. Step 600

    600

    #C2268A

    oklch(55.6% 0.21 347.2)

  8. Step 700

    700 (this color)

    #AB1A78

    oklch(50.2% 0.195 347.4)

  9. Step 800

    800

    #88175F

    oklch(42.7% 0.161 347.5)

  10. Step 900

    900

    #6E1C4E

    oklch(37.8% 0.127 347.4)

  11. Step 950

    950

    #41122E

    oklch(27% 0.081 347.1)

Export this scale for Tailwind in the Tailwind colors tool

#AB1A78 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)#344D7A0.221
Deuteranopia (no green cones)#5F65750.192
Tritanopia (no blue cones)#B811490.079
Achromatopsia (no color)#5C5C5C0.197

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB1A78

    #AB1A78

    oklch(50.2% 0.195 347.4)

  • #007658

    #007658

    oklch(50.2% 0.102 167.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB1A78

    #AB1A78

    oklch(50.2% 0.195 347.4)

  • #8E30AA

    #8E30AA

    oklch(50.1% 0.195 317.3)

  • #B90D38

    #B90D38

    oklch(50.2% 0.196 17.4)

Open the analogous palette in the generator

Split complementary

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

  • #AB1A78

    #AB1A78

    oklch(50.2% 0.195 347.4)

  • #317600

    #317600

    oklch(50.1% 0.153 137.3)

  • #007275

    #007275

    oklch(50.1% 0.085 198)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB1A78

    #AB1A78

    oklch(50.2% 0.195 347.4)

  • #6B6700

    #6B6700

    oklch(50.1% 0.107 107)

  • #006E8F

    #006E8F

    oklch(50.2% 0.097 227.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB1A78

    #AB1A78

    oklch(50.2% 0.195 347.4)

  • #845A00

    #845A00

    oklch(50% 0.105 77.2)

  • #007658

    #007658

    oklch(50.2% 0.102 167.5)

  • #005EC7

    #005EC7

    oklch(50.1% 0.18 257.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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