#AB2A6C

Closest named color: Violet Red (#A50055). oklch(50.8% 0.175 354.1), rgb(171, 42, 108).

Aa

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

About this color

#AB2A6C is a medium-dark, vivid red. In OKLCH its lightness is 51%, its chroma 0.175 and its hue 354°. Its hue sits on the warm side of the wheel. The nearest named color is Violet Red (#A50055), ΔE 0.047 away. White text reads best on it, at 6.40:1.

Hue familyReds
Lightnessmedium-dark (51%)
Chromavivid (0.175)
Temperaturewarm
Nearest nameViolet Red (#A50055)
Black text3.27:1
White text6.40:1

Values

HEX#AB2A6C
RGBrgb(171, 42, 108)
HSLhsl(329, 61%, 42%)
OKLCHoklch(50.8% 0.175 354.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 #AB2A6C 6.40:1 AA Lc -85.8 Fine for body text
Black text on #AB2A6C 3.27:1 AA large text Lc 23.5 Dividers and decoration only
#AB2A6C text on white 6.40:1 AA Lc 80.6 Fine for body text
#AB2A6C text on black 3.27:1 AA large text Lc -21.3 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

    #FCF2F6

    oklch(97% 0.012 351)

  2. Step 100

    100

    #F8E4EB

    oklch(93.7% 0.024 354.3)

  3. Step 200

    200

    #F4CDDB

    oklch(88.5% 0.047 354.5)

  4. Step 300

    300

    #EDAAC4

    oklch(80.9% 0.085 354.1)

  5. Step 400

    400

    #E17BA6

    oklch(70.8% 0.135 354.4)

  6. Step 500

    500

    #D55490

    oklch(63.1% 0.173 354.3)

  7. Step 600

    600

    #C0337A

    oklch(55.6% 0.187 354.3)

  8. Step 700

    700 (this color)

    #AB2A6C

    oklch(50.8% 0.175 354.1)

  9. Step 800

    800

    #862054

    oklch(42.6% 0.145 354)

  10. Step 900

    900

    #6C2145

    oklch(37.6% 0.113 354.3)

  11. Step 950

    950

    #401529

    oklch(27.1% 0.072 353.9)

Export this scale for Tailwind in the Tailwind colors tool

#AB2A6C 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)#43506E0.195
Deuteranopia (no green cones)#6767690.174
Tritanopia (no blue cones)#B91C470.061
Achromatopsia (no color)#5F5F5F0.176

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB2A6C

    #AB2A6C

    oklch(50.8% 0.175 354.1)

  • #007761

    #007761

    oklch(50.8% 0.097 173.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB2A6C

    #AB2A6C

    oklch(50.8% 0.175 354.1)

  • #93389C

    #93389C

    oklch(50.8% 0.174 324)

  • #B4292F

    #B4292F

    oklch(50.8% 0.175 24.1)

Open the analogous palette in the generator

Split complementary

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

  • #AB2A6C

    #AB2A6C

    oklch(50.8% 0.175 354.1)

  • #007C17

    #007C17

    oklch(50.9% 0.165 144.1)

  • #00737C

    #00737C

    oklch(50.7% 0.086 204.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB2A6C

    #AB2A6C

    oklch(50.8% 0.175 354.1)

  • #656C00

    #656C00

    oklch(50.8% 0.114 114.2)

  • #006E99

    #006E99

    oklch(50.8% 0.107 234.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB2A6C

    #AB2A6C

    oklch(50.8% 0.175 354.1)

  • #815F00

    #815F00

    oklch(50.7% 0.104 84.1)

  • #007761

    #007761

    oklch(50.8% 0.097 173.9)

  • #305CC8

    #305CC8

    oklch(50.8% 0.175 264.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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