#AC317A

Closest named color: Medium Violet Red (#C71585). oklch(52.1% 0.174 348.4), rgb(172, 49, 122).

Aa

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

About this color

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

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

Values

HEX#AC317A
RGBrgb(172, 49, 122)
HSLhsl(324, 56%, 43%)
OKLCHoklch(52.1% 0.174 348.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 #AC317A 6.04:1 AA Lc -84.4 Fine for body text
Black text on #AC317A 3.47:1 AA large text Lc 24.9 Dividers and decoration only
#AC317A text on white 6.04:1 AA Lc 79.1 Fine for body text
#AC317A text on black 3.47:1 AA large text Lc -22.7 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

    #FCF3F7

    oklch(97.2% 0.011 348.4)

  2. Step 100

    100

    #F7E4ED

    oklch(93.7% 0.024 347.2)

  3. Step 200

    200

    #F2CDDE

    oklch(88.5% 0.047 348.7)

  4. Step 300

    300

    #EAABCA

    oklch(80.9% 0.084 348.1)

  5. Step 400

    400

    #DD7BAF

    oklch(70.6% 0.136 348.1)

  6. Step 500

    500

    #D1569B

    oklch(63.1% 0.172 348.4)

  7. Step 600

    600

    #BC3586

    oklch(55.6% 0.188 348.1)

  8. Step 700

    700 (this color)

    #AC317A

    oklch(52.1% 0.174 348.4)

  9. Step 800

    800

    #83225C

    oklch(42.6% 0.144 348.2)

  10. Step 900

    900

    #6A234C

    oklch(37.8% 0.112 348.1)

  11. Step 950

    950

    #3E152C

    oklch(26.9% 0.071 348.2)

Export this scale for Tailwind in the Tailwind colors tool

#AC317A 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)#42557C0.194
Deuteranopia (no green cones)#666A770.171
Tritanopia (no blue cones)#B82C510.068
Achromatopsia (no color)#6363630.176

Harmonies

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

Complementary

The opposite hue (180°).

  • #AC317A

    #AC317A

    oklch(52.1% 0.174 348.4)

  • #007C5E

    #007C5E

    oklch(52.1% 0.105 168.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AC317A

    #AC317A

    oklch(52.1% 0.174 348.4)

  • #913FA8

    #913FA8

    oklch(52% 0.174 318.2)

  • #B82D41

    #B82D41

    oklch(52.1% 0.174 18.1)

Open the analogous palette in the generator

Split complementary

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

  • #AC317A

    #AC317A

    oklch(52.1% 0.174 348.4)

  • #2F7D00

    #2F7D00

    oklch(52% 0.162 138.3)

  • #00787C

    #00787C

    oklch(52% 0.088 198.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AC317A

    #AC317A

    oklch(52.1% 0.174 348.4)

  • #706D00

    #706D00

    oklch(52% 0.112 107.8)

  • #007497

    #007497

    oklch(52.2% 0.102 227.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AC317A

    #AC317A

    oklch(52.1% 0.174 348.4)

  • #8B6000

    #8B6000

    oklch(52.1% 0.109 78.2)

  • #007C5E

    #007C5E

    oklch(52.1% 0.105 168.5)

  • #1B64CB

    #1B64CB

    oklch(52% 0.175 258.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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