#AC2C7B

Closest named color: Medium Violet Red (#C71585). oklch(51.7% 0.181 347.5), rgb(172, 44, 123).

Aa

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

About this color

#AC2C7B is a medium-dark, vivid red. In OKLCH its lightness is 52%, its chroma 0.181 and its hue 347°. Its hue sits on the warm side of the wheel. The nearest named color is Medium Violet Red (#C71585), ΔE 0.055 away. White text reads best on it, at 6.17:1.

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

Values

HEX#AC2C7B
RGBrgb(172, 44, 123)
HSLhsl(323, 59%, 42%)
OKLCHoklch(51.7% 0.181 347.5)

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

    #F8E3ED

    oklch(93.6% 0.026 347.1)

  3. Step 200

    200

    #F3CDDF

    oklch(88.6% 0.049 347.9)

  4. Step 300

    300

    #EBAACB

    oklch(80.9% 0.087 347.4)

  5. Step 400

    400

    #DF7AB1

    oklch(70.8% 0.14 347.4)

  6. Step 500

    500

    #D3539D

    oklch(63.1% 0.179 347.7)

  7. Step 600

    600

    #BE3188

    oklch(55.6% 0.195 347.5)

  8. Step 700

    700 (this color)

    #AC2C7B

    oklch(51.7% 0.181 347.5)

  9. Step 800

    800

    #841F5E

    oklch(42.6% 0.15 347.1)

  10. Step 900

    900

    #6B214D

    oklch(37.8% 0.117 347.4)

  11. Step 950

    950

    #3F152D

    oklch(27.1% 0.073 347.7)

Export this scale for Tailwind in the Tailwind colors tool

#AC2C7B 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)#3E537D0.202
Deuteranopia (no green cones)#6469780.177
Tritanopia (no blue cones)#B827500.072
Achromatopsia (no color)#6161610.182

Harmonies

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

Complementary

The opposite hue (180°).

  • #AC2C7B

    #AC2C7B

    oklch(51.7% 0.181 347.5)

  • #007B5C

    #007B5C

    oklch(51.8% 0.105 167.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AC2C7B

    #AC2C7B

    oklch(51.7% 0.181 347.5)

  • #903CAA

    #903CAA

    oklch(51.7% 0.18 317.3)

  • #B92740

    #B92740

    oklch(51.8% 0.18 17.5)

Open the analogous palette in the generator

Split complementary

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

  • #AC2C7B

    #AC2C7B

    oklch(51.7% 0.181 347.5)

  • #337B00

    #337B00

    oklch(51.6% 0.158 137.4)

  • #00777A

    #00777A

    oklch(51.7% 0.088 197.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AC2C7B

    #AC2C7B

    oklch(51.7% 0.181 347.5)

  • #6F6C00

    #6F6C00

    oklch(51.7% 0.111 107.8)

  • #007395

    #007395

    oklch(51.8% 0.1 227.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AC2C7B

    #AC2C7B

    oklch(51.7% 0.181 347.5)

  • #8A5F00

    #8A5F00

    oklch(51.8% 0.108 77.9)

  • #007B5C

    #007B5C

    oklch(51.8% 0.105 167.6)

  • #0B63CD

    #0B63CD

    oklch(51.7% 0.181 257.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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