#A52771

Closest named color: Red Violet (#9E0168). oklch(49.7% 0.176 349.5), rgb(165, 39, 113).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (50%)
Chromavivid (0.176)
Temperaturewarm
Nearest nameRed Violet (#9E0168)
Black text3.12:1
White text6.71:1

Values

HEX#A52771
RGBrgb(165, 39, 113)
HSLhsl(325, 62%, 40%)
OKLCHoklch(49.7% 0.176 349.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 #A52771 6.71:1 AA Lc -87.0 Fine for body text
Black text on #A52771 3.12:1 AA large text Lc 22.2 Dividers and decoration only
#A52771 text on white 6.71:1 AA Lc 81.9 Fine for body text
#A52771 text on black 3.12:1 AA large text 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

    #FCF2F6

    oklch(97% 0.012 351)

  2. Step 100

    100

    #F8E4EC

    oklch(93.7% 0.024 351.3)

  3. Step 200

    200

    #F3CDDE

    oklch(88.5% 0.048 349.4)

  4. Step 300

    300

    #EBAAC9

    oklch(80.8% 0.086 349)

  5. Step 400

    400

    #DE7BAD

    oklch(70.7% 0.135 349.5)

  6. Step 500

    500

    #D25599

    oklch(63.1% 0.173 349.4)

  7. Step 600

    600

    #BD3483

    oklch(55.5% 0.188 349.6)

  8. Step 700

    700 (this color)

    #A52771

    oklch(49.7% 0.176 349.5)

  9. Step 800

    800

    #84215B

    oklch(42.6% 0.146 349.1)

  10. Step 900

    900

    #6B224A

    oklch(37.7% 0.113 350)

  11. Step 950

    950

    #3F152C

    oklch(27% 0.072 349)

Export this scale for Tailwind in the Tailwind colors tool

#A52771 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)#3C4E730.196
Deuteranopia (no green cones)#60646E0.174
Tritanopia (no blue cones)#B11F490.067
Achromatopsia (no color)#5C5C5C0.177

Harmonies

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

Complementary

The opposite hue (180°).

  • #A52771

    #A52771

    oklch(49.7% 0.176 349.5)

  • #007459

    #007459

    oklch(49.7% 0.099 169.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A52771

    #A52771

    oklch(49.7% 0.176 349.5)

  • #8C369F

    #8C369F

    oklch(49.7% 0.176 319.9)

  • #B02337

    #B02337

    oklch(49.7% 0.175 19.5)

Open the analogous palette in the generator

Split complementary

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

  • #A52771

    #A52771

    oklch(49.7% 0.176 349.5)

  • #247600

    #247600

    oklch(49.7% 0.158 139.6)

  • #007175

    #007175

    oklch(49.8% 0.085 199.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A52771

    #A52771

    oklch(49.7% 0.176 349.5)

  • #676700

    #676700

    oklch(49.7% 0.108 109.8)

  • #006C8F

    #006C8F

    oklch(49.7% 0.098 229.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A52771

    #A52771

    oklch(49.7% 0.176 349.5)

  • #815A00

    #815A00

    oklch(49.6% 0.103 79.3)

  • #007459

    #007459

    oklch(49.7% 0.099 169.4)

  • #185CC4

    #185CC4

    oklch(49.7% 0.176 259.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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