#A52E87

Closest named color: Warm Purple (#952E8F). oklch(51.3% 0.181 339.8), rgb(165, 46, 135).

Aa

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

About this color

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

Hue familyPinks
Lightnessmedium-dark (51%)
Chromavivid (0.181)
Temperaturewarm
Nearest nameWarm Purple (#952E8F)
Black text3.34:1
White text6.28:1

Values

HEX#A52E87
RGBrgb(165, 46, 135)
HSLhsl(315, 56%, 41%)
OKLCHoklch(51.3% 0.181 339.8)

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 #A52E87 6.28:1 AA Lc -85.4 Fine for body text
Black text on #A52E87 3.34:1 AA large text Lc 23.8 Dividers and decoration only
#A52E87 text on white 6.28:1 AA Lc 80.2 Fine for body text
#A52E87 text on black 3.34:1 AA large text Lc -21.6 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

    #FBF3F8

    oklch(97.2% 0.011 339.3)

  2. Step 100

    100

    #F6E4EF

    oklch(93.6% 0.024 340.3)

  3. Step 200

    200

    #F0CDE3

    oklch(88.4% 0.049 340.1)

  4. Step 300

    300

    #E8ABD3

    oklch(81% 0.088 339.8)

  5. Step 400

    400

    #D97CBC

    oklch(70.7% 0.139 339.9)

  6. Step 500

    500

    #CC56AB

    oklch(63.1% 0.178 339.8)

  7. Step 600

    600

    #B73596

    oklch(55.5% 0.194 339.9)

  8. Step 700

    700 (this color)

    #A52E87

    oklch(51.3% 0.181 339.8)

  9. Step 800

    800

    #802268

    oklch(42.7% 0.15 340)

  10. Step 900

    900

    #672255

    oklch(37.6% 0.117 339.4)

  11. Step 950

    950

    #3D1532

    oklch(27% 0.075 339.5)

Export this scale for Tailwind in the Tailwind colors tool

#A52E87 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)#3654890.198
Deuteranopia (no green cones)#5C67840.172
Tritanopia (no blue cones)#AF32570.083
Achromatopsia (no color)#6060600.183

Harmonies

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

Complementary

The opposite hue (180°).

  • #A52E87

    #A52E87

    oklch(51.3% 0.181 339.8)

  • #007B4F

    #007B4F

    oklch(51.4% 0.117 159.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A52E87

    #A52E87

    oklch(51.3% 0.181 339.8)

  • #863FB3

    #863FB3

    oklch(51.3% 0.181 309.6)

  • #B6244F

    #B6244F

    oklch(51.3% 0.181 9.9)

Open the analogous palette in the generator

Split complementary

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

  • #A52E87

    #A52E87

    oklch(51.3% 0.181 339.8)

  • #4C7500

    #4C7500

    oklch(51.2% 0.137 129.7)

  • #007772

    #007772

    oklch(51.4% 0.089 189.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A52E87

    #A52E87

    oklch(51.3% 0.181 339.8)

  • #766700

    #766700

    oklch(51.2% 0.106 99.2)

  • #00738C

    #00738C

    oklch(51.4% 0.093 219.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A52E87

    #A52E87

    oklch(51.3% 0.181 339.8)

  • #8F5900

    #8F5900

    oklch(51.2% 0.111 69.4)

  • #007B4F

    #007B4F

    oklch(51.4% 0.117 159.8)

  • #0069B5

    #0069B5

    oklch(51.2% 0.144 249.8)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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