#AC2E7A

Closest named color: Medium Violet Red (#C71585). oklch(51.9% 0.178 348.1), rgb(172, 46, 122).

Aa

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

About this color

#AC2E7A is a medium-dark, vivid red. In OKLCH its lightness is 52%, its chroma 0.178 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.056 away. White text reads best on it, at 6.12:1.

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

Values

HEX#AC2E7A
RGBrgb(172, 46, 122)
HSLhsl(324, 58%, 43%)
OKLCHoklch(51.9% 0.178 348.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 #AC2E7A 6.12:1 AA Lc -84.7 Fine for body text
Black text on #AC2E7A 3.42:1 AA large text Lc 24.6 Dividers and decoration only
#AC2E7A text on white 6.12:1 AA Lc 79.5 Fine for body text
#AC2E7A text on black 3.42: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

    #FCF2F7

    oklch(97% 0.013 345.5)

  2. Step 100

    100

    #F8E3ED

    oklch(93.6% 0.026 347.1)

  3. Step 200

    200

    #F2CDDF

    oklch(88.5% 0.048 347.2)

  4. Step 300

    300

    #EBAACA

    oklch(80.8% 0.086 348.2)

  5. Step 400

    400

    #DE7BAF

    oklch(70.7% 0.137 348.4)

  6. Step 500

    500

    #D2549C

    oklch(63.1% 0.176 348)

  7. Step 600

    600

    #BD3386

    oklch(55.6% 0.191 348.2)

  8. Step 700

    700 (this color)

    #AC2E7A

    oklch(51.9% 0.178 348.1)

  9. Step 800

    800

    #84215D

    oklch(42.7% 0.147 347.9)

  10. Step 900

    900

    #6B224C

    oklch(37.8% 0.114 348.4)

  11. Step 950

    950

    #3F152D

    oklch(27.1% 0.073 347.7)

Export this scale for Tailwind in the Tailwind colors tool

#AC2E7A 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)#40547C0.198
Deuteranopia (no green cones)#656A770.175
Tritanopia (no blue cones)#B829500.070
Achromatopsia (no color)#6262620.179

Harmonies

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

Complementary

The opposite hue (180°).

  • #AC2E7A

    #AC2E7A

    oklch(51.9% 0.178 348.1)

  • #007B5D

    #007B5D

    oklch(51.8% 0.104 168.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AC2E7A

    #AC2E7A

    oklch(51.9% 0.178 348.1)

  • #913DA9

    #913DA9

    oklch(51.9% 0.178 318)

  • #B82A3F

    #B82A3F

    oklch(51.8% 0.177 18.3)

Open the analogous palette in the generator

Split complementary

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

  • #AC2E7A

    #AC2E7A

    oklch(51.9% 0.178 348.1)

  • #307C00

    #307C00

    oklch(51.8% 0.16 138.1)

  • #00787B

    #00787B

    oklch(52% 0.088 197.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AC2E7A

    #AC2E7A

    oklch(51.9% 0.178 348.1)

  • #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.

  • #AC2E7A

    #AC2E7A

    oklch(51.9% 0.178 348.1)

  • #8A5F00

    #8A5F00

    oklch(51.8% 0.108 77.9)

  • #007B5D

    #007B5D

    oklch(51.8% 0.104 168.3)

  • #1563CC

    #1563CC

    oklch(51.8% 0.178 258.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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