#A5337D

Closest named color: Warm Purple (#952E8F). oklch(51.3% 0.168 344.8), rgb(165, 51, 125).

Aa

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

About this color

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

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

Values

HEX#A5337D
RGBrgb(165, 51, 125)
HSLhsl(321, 53%, 42%)
OKLCHoklch(51.3% 0.168 344.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 #A5337D 6.23:1 AA Lc -85.3 Fine for body text
Black text on #A5337D 3.36:1 AA large text Lc 23.9 Dividers and decoration only
#A5337D text on white 6.23:1 AA Lc 80.1 Fine for body text
#A5337D text on black 3.36:1 AA large text Lc -21.7 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

    #FBF3F7

    oklch(97.1% 0.01 345.4)

  2. Step 100

    100

    #F6E4ED

    oklch(93.6% 0.023 345.8)

  3. Step 200

    200

    #F0CEE0

    oklch(88.5% 0.045 344.9)

  4. Step 300

    300

    #E7ACCD

    oklch(80.9% 0.081 344.4)

  5. Step 400

    400

    #D97EB3

    oklch(70.7% 0.129 345)

  6. Step 500

    500

    #CC59A1

    oklch(63.1% 0.167 344.5)

  7. Step 600

    600

    #B73B8B

    oklch(55.6% 0.18 344.9)

  8. Step 700

    700 (this color)

    #A5337D

    oklch(51.3% 0.168 344.8)

  9. Step 800

    800

    #802660

    oklch(42.7% 0.139 345)

  10. Step 900

    900

    #67254F

    oklch(37.7% 0.108 344.4)

  11. Step 950

    950

    #3D172E

    oklch(27.1% 0.068 345.3)

Export this scale for Tailwind in the Tailwind colors tool

#A5337D 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)#3F547F0.185
Deuteranopia (no green cones)#61687A0.164
Tritanopia (no blue cones)#B032530.071
Achromatopsia (no color)#6161610.169

Harmonies

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

Complementary

The opposite hue (180°).

  • #A5337D

    #A5337D

    oklch(51.3% 0.168 344.8)

  • #007A57

    #007A57

    oklch(51.3% 0.108 164.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A5337D

    #A5337D

    oklch(51.3% 0.168 344.8)

  • #8A41A8

    #8A41A8

    oklch(51.4% 0.168 314.8)

  • #B22E47

    #B22E47

    oklch(51.3% 0.168 14.9)

Open the analogous palette in the generator

Split complementary

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

  • #A5337D

    #A5337D

    oklch(51.3% 0.168 344.8)

  • #3D7800

    #3D7800

    oklch(51.2% 0.149 134.9)

  • #007676

    #007676

    oklch(51.2% 0.087 194.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A5337D

    #A5337D

    oklch(51.3% 0.168 344.8)

  • #716A00

    #716A00

    oklch(51.4% 0.109 105.1)

  • #007291

    #007291

    oklch(51.4% 0.097 225.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A5337D

    #A5337D

    oklch(51.3% 0.168 344.8)

  • #8B5C00

    #8B5C00

    oklch(51.3% 0.108 74.5)

  • #007A57

    #007A57

    oklch(51.3% 0.108 164.8)

  • #0065C4

    #0065C4

    oklch(51.4% 0.168 254.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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