#A7317A

Closest named color: Warm Purple (#952E8F). oklch(51.3% 0.17 346.7), rgb(167, 49, 122).

Aa

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

About this color

#A7317A is a medium-dark, vivid red. In OKLCH its lightness is 51%, its chroma 0.170 and its hue 347°. Its hue sits on the warm side of the wheel. The nearest named color is Warm Purple (#952E8F), ΔE 0.054 away. White text reads best on it, at 6.24:1.

Hue familyReds
Lightnessmedium-dark (51%)
Chromavivid (0.170)
Temperaturewarm
Nearest nameWarm Purple (#952E8F)
Black text3.36:1
White text6.24:1

Values

HEX#A7317A
RGBrgb(167, 49, 122)
HSLhsl(323, 55%, 42%)
OKLCHoklch(51.3% 0.17 346.7)

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 #A7317A 6.24:1 AA Lc -85.3 Fine for body text
Black text on #A7317A 3.36:1 AA large text Lc 24.0 Dividers and decoration only
#A7317A text on white 6.24:1 AA Lc 80.1 Fine for body text
#A7317A text on black 3.36:1 AA large text Lc -21.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

    #FBF3F7

    oklch(97.1% 0.01 345.4)

  2. Step 100

    100

    #F7E4ED

    oklch(93.7% 0.024 347.2)

  3. Step 200

    200

    #F1CEDF

    oklch(88.6% 0.045 347.2)

  4. Step 300

    300

    #E9ABCB

    oklch(80.8% 0.083 346.8)

  5. Step 400

    400

    #DB7DB1

    oklch(70.7% 0.132 346.7)

  6. Step 500

    500

    #CF589D

    oklch(63.2% 0.168 347.1)

  7. Step 600

    600

    #BA3888

    oklch(55.6% 0.184 346.9)

  8. Step 700

    700 (this color)

    #A7317A

    oklch(51.3% 0.17 346.7)

  9. Step 800

    800

    #82245E

    oklch(42.7% 0.142 346.9)

  10. Step 900

    900

    #69244D

    oklch(37.8% 0.11 347)

  11. Step 950

    950

    #3E162D

    oklch(27.1% 0.07 347.2)

Export this scale for Tailwind in the Tailwind colors tool

#A7317A 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.189
Deuteranopia (no green cones)#6368770.166
Tritanopia (no blue cones)#B32E510.069
Achromatopsia (no color)#6060600.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #A7317A

    #A7317A

    oklch(51.3% 0.17 346.7)

  • #007A5A

    #007A5A

    oklch(51.4% 0.106 166.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A7317A

    #A7317A

    oklch(51.3% 0.17 346.7)

  • #8C3FA6

    #8C3FA6

    oklch(51.3% 0.17 316.7)

  • #B42D43

    #B42D43

    oklch(51.4% 0.17 16.8)

Open the analogous palette in the generator

Split complementary

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

  • #A7317A

    #A7317A

    oklch(51.3% 0.17 346.7)

  • #367A00

    #367A00

    oklch(51.4% 0.155 136.7)

  • #007678

    #007678

    oklch(51.3% 0.087 196.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A7317A

    #A7317A

    oklch(51.3% 0.17 346.7)

  • #6F6A00

    #6F6A00

    oklch(51.2% 0.11 106.4)

  • #007293

    #007293

    oklch(51.5% 0.099 226.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A7317A

    #A7317A

    oklch(51.3% 0.17 346.7)

  • #895D00

    #895D00

    oklch(51.3% 0.107 76.7)

  • #007A5A

    #007A5A

    oklch(51.4% 0.106 166.8)

  • #1063C6

    #1063C6

    oklch(51.3% 0.171 256.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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