#AA2F7D

Closest named color: Warm Purple (#952E8F). oklch(51.7% 0.177 346.1), rgb(170, 47, 125).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (52%)
Chromavivid (0.177)
Temperaturewarm
Nearest nameWarm Purple (#952E8F)
Black text3.41:1
White text6.15:1

Values

HEX#AA2F7D
RGBrgb(170, 47, 125)
HSLhsl(322, 57%, 43%)
OKLCHoklch(51.7% 0.177 346.1)

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

    #F7E4ED

    oklch(93.7% 0.024 347.2)

  3. Step 200

    200

    #F2CDE0

    oklch(88.5% 0.048 345.8)

  4. Step 300

    300

    #EAABCC

    oklch(81% 0.085 346.4)

  5. Step 400

    400

    #DD7BB2

    oklch(70.7% 0.137 346.4)

  6. Step 500

    500

    #D0559F

    oklch(63% 0.175 346.2)

  7. Step 600

    600

    #BB358A

    oklch(55.6% 0.19 346.1)

  8. Step 700

    700 (this color)

    #AA2F7D

    oklch(51.7% 0.177 346.1)

  9. Step 800

    800

    #83225F

    oklch(42.7% 0.146 346.4)

  10. Step 900

    900

    #6A224E

    oklch(37.7% 0.115 346.3)

  11. Step 950

    950

    #3E152E

    oklch(27% 0.073 345.5)

Export this scale for Tailwind in the Tailwind colors tool

#AA2F7D 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)#3F547F0.195
Deuteranopia (no green cones)#63697A0.172
Tritanopia (no blue cones)#B62C520.072
Achromatopsia (no color)#6161610.179

Harmonies

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

Complementary

The opposite hue (180°).

  • #AA2F7D

    #AA2F7D

    oklch(51.7% 0.177 346.1)

  • #007B5A

    #007B5A

    oklch(51.7% 0.107 166.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AA2F7D

    #AA2F7D

    oklch(51.7% 0.177 346.1)

  • #8E3EAB

    #8E3EAB

    oklch(51.7% 0.177 315.9)

  • #B72944

    #B72944

    oklch(51.7% 0.177 15.9)

Open the analogous palette in the generator

Split complementary

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

  • #AA2F7D

    #AA2F7D

    oklch(51.7% 0.177 346.1)

  • #397B00

    #397B00

    oklch(51.9% 0.155 136.2)

  • #007879

    #007879

    oklch(51.9% 0.088 195.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AA2F7D

    #AA2F7D

    oklch(51.7% 0.177 346.1)

  • #716B00

    #716B00

    oklch(51.7% 0.11 105.8)

  • #007394

    #007394

    oklch(51.8% 0.099 226.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AA2F7D

    #AA2F7D

    oklch(51.7% 0.177 346.1)

  • #8B5E00

    #8B5E00

    oklch(51.7% 0.108 76.3)

  • #007B5A

    #007B5A

    oklch(51.7% 0.107 166.3)

  • #0164CA

    #0164CA

    oklch(51.6% 0.177 256.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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