#A5408B

Closest named color: Warm Purple (#952E8F). oklch(53.4% 0.159 339), rgb(165, 64, 139).

Aa

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

About this color

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

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

Values

HEX#A5408B
RGBrgb(165, 64, 139)
HSLhsl(315, 44%, 45%)
OKLCHoklch(53.4% 0.159 339)

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 #A5408B 5.66:1 AA Lc -83.0 Fine for body text
Black text on #A5408B 3.70:1 AA large text Lc 26.4 Dividers and decoration only
#A5408B text on white 5.66:1 AA Lc 77.7 Fine for body text
#A5408B text on black 3.70:1 AA large text Lc -24.1 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

    #F4E5EE

    oklch(93.6% 0.02 340.7)

  3. Step 200

    200

    #ECCFE2

    oklch(88.4% 0.041 338.7)

  4. Step 300

    300

    #E1AFD0

    oklch(80.9% 0.072 339.3)

  5. Step 400

    400

    #CF84B8

    oklch(70.7% 0.113 339)

  6. Step 500

    500

    #C162A7

    oklch(63% 0.147 338.6)

  7. Step 600

    600 (this color)

    #A5408B

    oklch(53.4% 0.159 339)

  8. Step 700

    700

    #94377C

    oklch(49.1% 0.149 339.1)

  9. Step 800

    800

    #782F65

    oklch(42.7% 0.122 338.9)

  10. Step 900

    900

    #612A52

    oklch(37.6% 0.096 339)

  11. Step 950

    950

    #391930

    oklch(26.9% 0.061 338.9)

Export this scale for Tailwind in the Tailwind colors tool

#A5408B 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)#445D8D0.170
Deuteranopia (no green cones)#636D880.150
Tritanopia (no blue cones)#AE435F0.075
Achromatopsia (no color)#6767670.161

Harmonies

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

Complementary

The opposite hue (180°).

  • #A5408B

    #A5408B

    oklch(53.4% 0.159 339)

  • #008252

    #008252

    oklch(53.5% 0.123 158.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A5408B

    #A5408B

    oklch(53.4% 0.159 339)

  • #884DB2

    #884DB2

    oklch(53.5% 0.16 308.9)

  • #B53A59

    #B53A59

    oklch(53.4% 0.159 9.2)

Open the analogous palette in the generator

Split complementary

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

  • #A5408B

    #A5408B

    oklch(53.4% 0.159 339)

  • #537C00

    #537C00

    oklch(53.5% 0.142 129)

  • #007E78

    #007E78

    oklch(53.5% 0.093 188.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A5408B

    #A5408B

    oklch(53.4% 0.159 339)

  • #7D6D00

    #7D6D00

    oklch(53.4% 0.111 99.1)

  • #007A93

    #007A93

    oklch(53.5% 0.097 218.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A5408B

    #A5408B

    oklch(53.4% 0.159 339)

  • #985E00

    #985E00

    oklch(53.4% 0.117 68.6)

  • #008252

    #008252

    oklch(53.5% 0.123 158.9)

  • #0070BD

    #0070BD

    oklch(53.4% 0.147 248.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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