#AB2F76

Closest named color: Red Violet (#9E0168). oklch(51.6% 0.174 349.8), rgb(171, 47, 118).

Aa

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

About this color

#AB2F76 is a medium-dark, vivid red. In OKLCH its lightness is 52%, its chroma 0.174 and its hue 350°. 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.17:1.

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

Values

HEX#AB2F76
RGBrgb(171, 47, 118)
HSLhsl(326, 57%, 43%)
OKLCHoklch(51.6% 0.174 349.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 #AB2F76 6.17:1 AA Lc -84.9 Fine for body text
Black text on #AB2F76 3.39:1 AA large text Lc 24.3 Dividers and decoration only
#AB2F76 text on white 6.17:1 AA Lc 79.7 Fine for body text
#AB2F76 text on black 3.39:1 AA large text Lc -22.1 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

    #FCF3F6

    oklch(97.2% 0.01 354.9)

  2. Step 100

    100

    #F7E4EC

    oklch(93.6% 0.023 350.1)

  3. Step 200

    200

    #F2CDDD

    oklch(88.4% 0.046 350.2)

  4. Step 300

    300

    #EBABC8

    oklch(80.9% 0.083 350.3)

  5. Step 400

    400

    #DE7BAD

    oklch(70.7% 0.135 349.5)

  6. Step 500

    500

    #D25698

    oklch(63.2% 0.171 350)

  7. Step 600

    600

    #BD3583

    oklch(55.6% 0.187 349.7)

  8. Step 700

    700 (this color)

    #AB2F76

    oklch(51.6% 0.174 349.8)

  9. Step 800

    800

    #84225A

    oklch(42.7% 0.144 349.9)

  10. Step 900

    900

    #6A224A

    oklch(37.6% 0.112 349.5)

  11. Step 950

    950

    #3F152B

    oklch(27% 0.072 350.4)

Export this scale for Tailwind in the Tailwind colors tool

#AB2F76 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)#4253780.194
Deuteranopia (no green cones)#6669730.171
Tritanopia (no blue cones)#B8284E0.066
Achromatopsia (no color)#6161610.175

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB2F76

    #AB2F76

    oklch(51.6% 0.174 349.8)

  • #007A5E

    #007A5E

    oklch(51.5% 0.102 169.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB2F76

    #AB2F76

    oklch(51.6% 0.174 349.8)

  • #913DA4

    #913DA4

    oklch(51.6% 0.173 319.8)

  • #B62C3C

    #B62C3C

    oklch(51.6% 0.173 19.8)

Open the analogous palette in the generator

Split complementary

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

  • #AB2F76

    #AB2F76

    oklch(51.6% 0.174 349.8)

  • #257D00

    #257D00

    oklch(51.7% 0.166 139.8)

  • #00777B

    #00777B

    oklch(51.7% 0.088 198.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB2F76

    #AB2F76

    oklch(51.6% 0.174 349.8)

  • #6D6D00

    #6D6D00

    oklch(51.8% 0.113 109.8)

  • #007297

    #007297

    oklch(51.7% 0.103 229.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB2F76

    #AB2F76

    oklch(51.6% 0.174 349.8)

  • #885F00

    #885F00

    oklch(51.5% 0.107 79.2)

  • #007A5E

    #007A5E

    oklch(51.5% 0.102 169.6)

  • #2162C9

    #2162C9

    oklch(51.6% 0.173 259.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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