#A5398D

Closest named color: Warm Purple (#952E8F). oklch(52.7% 0.171 337.7), rgb(165, 57, 141).

Aa

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

About this color

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

Hue familyPinks
Lightnessmedium-dark (53%)
Chromavivid (0.171)
Temperaturewarm
Nearest nameWarm Purple (#952E8F)
Black text3.56:1
White text5.88:1

Values

HEX#A5398D
RGBrgb(165, 57, 141)
HSLhsl(313, 49%, 44%)
OKLCHoklch(52.7% 0.171 337.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 #A5398D 5.88:1 AA Lc -83.9 Fine for body text
Black text on #A5398D 3.56:1 AA large text Lc 25.5 Dividers and decoration only
#A5398D text on white 5.88:1 AA Lc 78.6 Fine for body text
#A5398D text on black 3.56:1 AA large text Lc -23.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 600.

  1. Step 50

    50

    #FAF3F8

    oklch(97.1% 0.01 335.5)

  2. Step 100

    100

    #F4E4EF

    oklch(93.5% 0.023 336.8)

  3. Step 200

    200

    #EDCFE3

    oklch(88.5% 0.043 338.2)

  4. Step 300

    300

    #E2AED2

    oklch(80.9% 0.077 337.9)

  5. Step 400

    400

    #D181BC

    oklch(70.6% 0.124 337.2)

  6. Step 500

    500

    #C45FAB

    oklch(63.2% 0.158 337.6)

  7. Step 600

    600 (this color)

    #A5398D

    oklch(52.7% 0.171 337.7)

  8. Step 700

    700

    #963380

    oklch(49.1% 0.159 337.7)

  9. Step 800

    800

    #7A2C68

    oklch(42.8% 0.131 337.8)

  10. Step 900

    900

    #622854

    oklch(37.6% 0.102 337.7)

  11. Step 950

    950

    #3A1831

    oklch(26.9% 0.065 338.4)

Export this scale for Tailwind in the Tailwind colors tool

#A5398D 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)#3C5A8F0.184
Deuteranopia (no green cones)#5E6A8A0.160
Tritanopia (no blue cones)#AE3E5E0.082
Achromatopsia (no color)#6464640.173

Harmonies

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

Complementary

The opposite hue (180°).

  • #A5398D

    #A5398D

    oklch(52.7% 0.171 337.7)

  • #00804E

    #00804E

    oklch(52.8% 0.124 157.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A5398D

    #A5398D

    oklch(52.7% 0.171 337.7)

  • #8648B5

    #8648B5

    oklch(52.7% 0.17 307.8)

  • #B63159

    #B63159

    oklch(52.7% 0.17 7.4)

Open the analogous palette in the generator

Split complementary

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

  • #A5398D

    #A5398D

    oklch(52.7% 0.171 337.7)

  • #547900

    #547900

    oklch(52.8% 0.138 127.8)

  • #007C74

    #007C74

    oklch(52.8% 0.092 186.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A5398D

    #A5398D

    oklch(52.7% 0.171 337.7)

  • #7C6A00

    #7C6A00

    oklch(52.6% 0.108 97.4)

  • #00788F

    #00788F

    oklch(52.8% 0.095 217.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A5398D

    #A5398D

    oklch(52.7% 0.171 337.7)

  • #965C00

    #965C00

    oklch(52.8% 0.116 68)

  • #00804E

    #00804E

    oklch(52.8% 0.124 157.6)

  • #006FB7

    #006FB7

    oklch(52.8% 0.14 247.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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