#A8408E

Closest named color: Warm Purple (#952E8F). oklch(54% 0.164 338.7), rgb(168, 64, 142).

Aa

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

About this color

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

Hue familyPinks
Lightnessmedium-dark (54%)
Chromavivid (0.164)
Temperaturewarm
Nearest nameWarm Purple (#952E8F)
Black text3.78:1
White text5.54:1

Values

HEX#A8408E
RGBrgb(168, 64, 142)
HSLhsl(315, 45%, 45%)
OKLCHoklch(54% 0.164 338.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 #A8408E 5.54:1 AA Lc -82.3 Fine for body text
Black text on #A8408E 3.78:1 AA large text Lc 27.1 Dividers and decoration only
#A8408E text on white 5.54:1 AA Lc 77.0 Fine for body text
#A8408E text on black 3.78:1 AA large text Lc -24.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 600.

  1. Step 50

    50

    #FAF3F8

    oklch(97.1% 0.01 335.5)

  2. Step 100

    100

    #F4E5EF

    oklch(93.7% 0.021 337.7)

  3. Step 200

    200

    #ECCFE2

    oklch(88.4% 0.041 338.7)

  4. Step 300

    300

    #E1AFD1

    oklch(81% 0.073 338.4)

  5. Step 400

    400

    #D083B9

    oklch(70.7% 0.117 338.7)

  6. Step 500

    500

    #C261A8

    oklch(63.1% 0.151 338.5)

  7. Step 600

    600 (this color)

    #A8408E

    oklch(54% 0.164 338.7)

  8. Step 700

    700

    #95367D

    oklch(49.2% 0.152 338.9)

  9. Step 800

    800

    #792E66

    oklch(42.8% 0.126 338.7)

  10. Step 900

    900

    #622A53

    oklch(37.8% 0.098 338.8)

  11. Step 950

    950

    #391931

    oklch(26.9% 0.062 337.5)

Export this scale for Tailwind in the Tailwind colors tool

#A8408E 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)#445E900.175
Deuteranopia (no green cones)#646E8B0.153
Tritanopia (no blue cones)#B143610.076
Achromatopsia (no color)#6868680.165

Harmonies

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

Complementary

The opposite hue (180°).

  • #A8408E

    #A8408E

    oklch(54% 0.164 338.7)

  • #008453

    #008453

    oklch(54.1% 0.125 158.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A8408E

    #A8408E

    oklch(54% 0.164 338.7)

  • #8A4EB6

    #8A4EB6

    oklch(54.1% 0.164 308.5)

  • #B83A5B

    #B83A5B

    oklch(54% 0.163 8.7)

Open the analogous palette in the generator

Split complementary

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

  • #A8408E

    #A8408E

    oklch(54% 0.164 338.7)

  • #557D00

    #557D00

    oklch(53.9% 0.142 128.5)

  • #008079

    #008079

    oklch(54.1% 0.094 188.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A8408E

    #A8408E

    oklch(54% 0.164 338.7)

  • #7F6F00

    #7F6F00

    oklch(54% 0.112 99.3)

  • #007B95

    #007B95

    oklch(53.9% 0.098 219.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A8408E

    #A8408E

    oklch(54% 0.164 338.7)

  • #9A6000

    #9A6000

    oklch(54.1% 0.118 69.2)

  • #008453

    #008453

    oklch(54.1% 0.125 158.7)

  • #0072BF

    #0072BF

    oklch(54% 0.147 248.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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