#AB2F78

Closest named color: Red Violet (#9E0168). oklch(51.7% 0.175 348.8), rgb(171, 47, 120).

Aa

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

About this color

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

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

Values

HEX#AB2F78
RGBrgb(171, 47, 120)
HSLhsl(325, 57%, 43%)
OKLCHoklch(51.7% 0.175 348.8)

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 #AB2F78 6.15:1 AA Lc -84.8 Fine for body text
Black text on #AB2F78 3.40:1 AA large text Lc 24.4 Dividers and decoration only
#AB2F78 text on white 6.15:1 AA Lc 79.6 Fine for body text
#AB2F78 text on black 3.40:1 AA large text Lc -22.2 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

    #F7E4EC

    oklch(93.6% 0.023 350.1)

  3. Step 200

    200

    #F2CDDE

    oklch(88.5% 0.047 348.7)

  4. Step 300

    300

    #EBABC9

    oklch(81% 0.084 349.4)

  5. Step 400

    400

    #DE7BAE

    oklch(70.7% 0.136 349)

  6. Step 500

    500

    #D1559A

    oklch(63% 0.173 348.7)

  7. Step 600

    600

    #BD3585

    oklch(55.7% 0.188 348.8)

  8. Step 700

    700 (this color)

    #AB2F78

    oklch(51.7% 0.175 348.8)

  9. Step 800

    800

    #84225C

    oklch(42.8% 0.145 348.6)

  10. Step 900

    900

    #6A224B

    oklch(37.6% 0.113 348.7)

  11. Step 950

    950

    #3F152C

    oklch(27% 0.072 349)

Export this scale for Tailwind in the Tailwind colors tool

#AB2F78 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)#41547A0.195
Deuteranopia (no green cones)#6569750.172
Tritanopia (no blue cones)#B7294F0.068
Achromatopsia (no color)#6161610.177

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB2F78

    #AB2F78

    oklch(51.7% 0.175 348.8)

  • #007B5D

    #007B5D

    oklch(51.8% 0.104 168.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB2F78

    #AB2F78

    oklch(51.7% 0.175 348.8)

  • #913DA6

    #913DA6

    oklch(51.7% 0.175 319.1)

  • #B72B3E

    #B72B3E

    oklch(51.7% 0.175 18.9)

Open the analogous palette in the generator

Split complementary

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

  • #AB2F78

    #AB2F78

    oklch(51.7% 0.175 348.8)

  • #2C7C00

    #2C7C00

    oklch(51.6% 0.162 138.7)

  • #00777B

    #00777B

    oklch(51.7% 0.088 198.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB2F78

    #AB2F78

    oklch(51.7% 0.175 348.8)

  • #6E6C00

    #6E6C00

    oklch(51.6% 0.112 108.5)

  • #007296

    #007296

    oklch(51.6% 0.102 228.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB2F78

    #AB2F78

    oklch(51.7% 0.175 348.8)

  • #895F00

    #895F00

    oklch(51.7% 0.108 78.6)

  • #007B5D

    #007B5D

    oklch(51.8% 0.104 168.3)

  • #1C63CA

    #1C63CA

    oklch(51.8% 0.174 258.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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