#A6398B

Closest named color: Warm Purple (#952E8F). oklch(52.8% 0.17 338.9), rgb(166, 57, 139).

Aa

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

About this color

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

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

Values

HEX#A6398B
RGBrgb(166, 57, 139)
HSLhsl(315, 49%, 44%)
OKLCHoklch(52.8% 0.17 338.9)

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 #A6398B 5.86:1 AA Lc -83.8 Fine for body text
Black text on #A6398B 3.57:1 AA large text Lc 25.6 Dividers and decoration only
#A6398B text on white 5.86:1 AA Lc 78.5 Fine for body text
#A6398B text on black 3.57:1 AA large text Lc -23.3 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

    #F5E4EF

    oklch(93.6% 0.023 338.6)

  3. Step 200

    200

    #EDCFE3

    oklch(88.5% 0.043 338.2)

  4. Step 300

    300

    #E3AED1

    oklch(81% 0.077 339.4)

  5. Step 400

    400

    #D281BA

    oklch(70.6% 0.123 338.7)

  6. Step 500

    500

    #C45FA8

    oklch(63.1% 0.156 339)

  7. Step 600

    600 (this color)

    #A6398B

    oklch(52.8% 0.17 338.9)

  8. Step 700

    700

    #96337E

    oklch(49% 0.158 338.7)

  9. Step 800

    800

    #7A2B66

    oklch(42.6% 0.131 338.9)

  10. Step 900

    900

    #632853

    oklch(37.7% 0.102 339.2)

  11. Step 950

    950

    #3A1831

    oklch(26.9% 0.065 338.4)

Export this scale for Tailwind in the Tailwind colors tool

#A6398B 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)#3E5A8D0.183
Deuteranopia (no green cones)#606B880.161
Tritanopia (no blue cones)#AF3D5D0.079
Achromatopsia (no color)#6565650.171

Harmonies

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

Complementary

The opposite hue (180°).

  • #A6398B

    #A6398B

    oklch(52.8% 0.17 338.9)

  • #008050

    #008050

    oklch(52.9% 0.122 158.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A6398B

    #A6398B

    oklch(52.8% 0.17 338.9)

  • #8848B4

    #8848B4

    oklch(52.9% 0.17 309.1)

  • #B73156

    #B73156

    oklch(52.8% 0.171 9.1)

Open the analogous palette in the generator

Split complementary

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

  • #A6398B

    #A6398B

    oklch(52.8% 0.17 338.9)

  • #517900

    #517900

    oklch(52.6% 0.139 128.9)

  • #007C76

    #007C76

    oklch(52.9% 0.092 188.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A6398B

    #A6398B

    oklch(52.8% 0.17 338.9)

  • #7B6B00

    #7B6B00

    oklch(52.7% 0.109 98.9)

  • #007890

    #007890

    oklch(52.9% 0.095 218.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A6398B

    #A6398B

    oklch(52.8% 0.17 338.9)

  • #955D00

    #955D00

    oklch(52.8% 0.115 69.4)

  • #008050

    #008050

    oklch(52.9% 0.122 158.6)

  • #006EBA

    #006EBA

    oklch(52.7% 0.145 248.9)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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