#AC217E

Closest named color: Red Violet (#9E0168). oklch(51% 0.193 345.4), rgb(172, 33, 126).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (51%)
Chromavivid (0.193)
Temperaturewarm
Nearest nameRed Violet (#9E0168)
Black text3.27:1
White text6.41:1

Values

HEX#AC217E
RGBrgb(172, 33, 126)
HSLhsl(320, 68%, 40%)
OKLCHoklch(51% 0.193 345.4)

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 #AC217E 6.41:1 AA Lc -85.6 Fine for body text
Black text on #AC217E 3.27:1 AA large text Lc 23.7 Dividers and decoration only
#AC217E text on white 6.41:1 AA Lc 80.4 Fine for body text
#AC217E text on black 3.27:1 AA large text Lc -21.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

    #F8E3EE

    oklch(93.6% 0.027 344.6)

  3. Step 200

    200

    #F4CCE1

    oklch(88.5% 0.052 345.3)

  4. Step 300

    300

    #EDA8CE

    oklch(80.8% 0.094 345.2)

  5. Step 400

    400

    #E177B5

    oklch(70.7% 0.15 345.5)

  6. Step 500

    500

    #D54EA3

    oklch(63.1% 0.191 345.2)

  7. Step 600

    600

    #C0298E

    oklch(55.6% 0.208 345.2)

  8. Step 700

    700 (this color)

    #AC217E

    oklch(51% 0.193 345.4)

  9. Step 800

    800

    #861962

    oklch(42.6% 0.16 345.2)

  10. Step 900

    900

    #6C1D50

    oklch(37.6% 0.125 345.1)

  11. Step 950

    950

    #40132F

    oklch(27.1% 0.079 345.4)

Export this scale for Tailwind in the Tailwind colors tool

#AC217E 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)#3550800.218
Deuteranopia (no green cones)#60677B0.188
Tritanopia (no blue cones)#B81D4E0.081
Achromatopsia (no color)#5F5F5F0.195

Harmonies

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

Complementary

The opposite hue (180°).

  • #AC217E

    #AC217E

    oklch(51% 0.193 345.4)

  • #007957

    #007957

    oklch(51.1% 0.107 165.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AC217E

    #AC217E

    oklch(51% 0.193 345.4)

  • #8E35AF

    #8E35AF

    oklch(50.9% 0.193 315.3)

  • #BB1640

    #BB1640

    oklch(51.1% 0.194 15.4)

Open the analogous palette in the generator

Split complementary

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

  • #AC217E

    #AC217E

    oklch(51% 0.193 345.4)

  • #3B7800

    #3B7800

    oklch(51.1% 0.15 135.4)

  • #007576

    #007576

    oklch(51% 0.087 195.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AC217E

    #AC217E

    oklch(51% 0.193 345.4)

  • #6F6900

    #6F6900

    oklch(51% 0.109 105.7)

  • #007190

    #007190

    oklch(51.1% 0.097 225.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AC217E

    #AC217E

    oklch(51% 0.193 345.4)

  • #895C00

    #895C00

    oklch(51.1% 0.107 75.8)

  • #007957

    #007957

    oklch(51.1% 0.107 165.3)

  • #0063C4

    #0063C4

    oklch(50.9% 0.17 255.4)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #AC217E.

Similar named colors

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

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