#AA017A

Closest named color: Red Violet (#9E0168). oklch(49.2% 0.208 345.5), rgb(170, 1, 122).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (49%)
Chromavivid (0.208)
Temperaturewarm
Nearest nameRed Violet (#9E0168)
Black text2.99:1
White text7.01:1

Values

HEX#AA017A
RGBrgb(170, 1, 122)
HSLhsl(317, 99%, 34%)
OKLCHoklch(49.2% 0.208 345.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 #AA017A 7.01:1 AAA Lc -87.0 Fine for body text
Black text on #AA017A 2.99:1 Fails Lc 22.1 Dividers and decoration only
#AA017A text on white 7.01:1 AAA Lc 81.9 Fine for body text
#AA017A text on black 2.99:1 Fails Lc -20.0 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

    #FDF2F7

    oklch(97.1% 0.013 347.9)

  2. Step 100

    100

    #F9E3EE

    oklch(93.7% 0.028 345.9)

  3. Step 200

    200

    #F6CBE1

    oklch(88.5% 0.056 346.1)

  4. Step 300

    300

    #F0A6CF

    oklch(80.8% 0.101 345.3)

  5. Step 400

    400

    #E573B6

    oklch(70.7% 0.16 345.7)

  6. Step 500

    500

    #DA46A4

    oklch(63.1% 0.206 345.6)

  7. Step 600

    600

    #C5198F

    oklch(55.6% 0.223 345.6)

  8. Step 700

    700 (this color)

    #AA017A

    oklch(49.2% 0.208 345.5)

  9. Step 800

    800

    #8A0D63

    oklch(42.7% 0.172 345.6)

  10. Step 900

    900

    #6F1851

    oklch(37.7% 0.134 345.4)

  11. Step 950

    950

    #41102F

    oklch(26.8% 0.085 345.4)

Export this scale for Tailwind in the Tailwind colors tool

#AA017A 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)#28487C0.239
Deuteranopia (no green cones)#5B62770.202
Tritanopia (no blue cones)#B600460.089
Achromatopsia (no color)#5959590.210

Harmonies

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

Complementary

The opposite hue (180°).

  • #AA017A

    #AA017A

    oklch(49.2% 0.208 345.5)

  • #007353

    #007353

    oklch(49.2% 0.103 165.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AA017A

    #AA017A

    oklch(49.2% 0.208 345.5)

  • #8C26AE

    #8C26AE

    oklch(49.2% 0.208 315.8)

  • #B5003A

    #B5003A

    oklch(49.1% 0.196 15.4)

Open the analogous palette in the generator

Split complementary

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

  • #AA017A

    #AA017A

    oklch(49.2% 0.208 345.5)

  • #377200

    #377200

    oklch(49.2% 0.145 135.5)

  • #006F70

    #006F70

    oklch(49.1% 0.084 195.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AA017A

    #AA017A

    oklch(49.2% 0.208 345.5)

  • #6A6400

    #6A6400

    oklch(49.3% 0.105 105.5)

  • #006B89

    #006B89

    oklch(49.1% 0.094 225.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AA017A

    #AA017A

    oklch(49.2% 0.208 345.5)

  • #825700

    #825700

    oklch(49.1% 0.103 75.7)

  • #007353

    #007353

    oklch(49.2% 0.103 165.6)

  • #005EBB

    #005EBB

    oklch(49.1% 0.165 255.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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