#AA1271

Closest named color: Red Violet (#9E0168). oklch(49.3% 0.196 349.7), rgb(170, 18, 113).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (49%)
Chromavivid (0.196)
Temperaturewarm
Nearest nameRed Violet (#9E0168)
Black text3.03:1
White text6.92:1

Values

HEX#AA1271
RGBrgb(170, 18, 113)
HSLhsl(323, 81%, 37%)
OKLCHoklch(49.3% 0.196 349.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 #AA1271 6.92:1 AA Lc -87.2 Fine for body text
Black text on #AA1271 3.03:1 AA large text Lc 22.0 Dividers and decoration only
#AA1271 text on white 6.92:1 AA Lc 82.1 Fine for body text
#AA1271 text on black 3.03:1 AA large text Lc -19.8 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

    #F9E3EC

    oklch(93.6% 0.027 350.9)

  3. Step 200

    200

    #F5CCDE

    oklch(88.5% 0.052 350)

  4. Step 300

    300

    #F0A8C9

    oklch(81% 0.094 350.3)

  5. Step 400

    400

    #E575AE

    oklch(70.7% 0.152 349.9)

  6. Step 500

    500

    #DA4B9A

    oklch(63.2% 0.194 350)

  7. Step 600

    600

    #C52385

    oklch(55.7% 0.211 349.8)

  8. Step 700

    700 (this color)

    #AA1271

    oklch(49.3% 0.196 349.7)

  9. Step 800

    800

    #8A155C

    oklch(42.8% 0.163 349.7)

  10. Step 900

    900

    #6F1B4B

    oklch(37.7% 0.127 349.9)

  11. Step 950

    950

    #41122C

    oklch(27% 0.08 349.5)

Export this scale for Tailwind in the Tailwind colors tool

#AA1271 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)#3449730.223
Deuteranopia (no green cones)#5F636E0.194
Tritanopia (no blue cones)#B700430.077
Achromatopsia (no color)#5A5A5A0.198

Harmonies

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

Complementary

The opposite hue (180°).

  • #AA1271

    #AA1271

    oklch(49.3% 0.196 349.7)

  • #007358

    #007358

    oklch(49.4% 0.099 169.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AA1271

    #AA1271

    oklch(49.3% 0.196 349.7)

  • #8F2BA4

    #8F2BA4

    oklch(49.3% 0.196 320)

  • #B6042F

    #B6042F

    oklch(49.2% 0.196 19.7)

Open the analogous palette in the generator

Split complementary

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

  • #AA1271

    #AA1271

    oklch(49.3% 0.196 349.7)

  • #227500

    #227500

    oklch(49.3% 0.158 139.8)

  • #006F74

    #006F74

    oklch(49.2% 0.084 200.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AA1271

    #AA1271

    oklch(49.3% 0.196 349.7)

  • #666600

    #666600

    oklch(49.4% 0.108 109.8)

  • #006B8E

    #006B8E

    oklch(49.4% 0.098 229.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AA1271

    #AA1271

    oklch(49.3% 0.196 349.7)

  • #7F5900

    #7F5900

    oklch(49.2% 0.102 79.8)

  • #007358

    #007358

    oklch(49.4% 0.099 169.3)

  • #0358CE

    #0358CE

    oklch(49.4% 0.196 259.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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