#BA4AA6

Closest named color: Purpley Pink (#C83CB9). oklch(58.9% 0.179 335.2), rgb(186, 74, 166).

Aa

Black text reads best on this color (4.61:1).

About this color

#BA4AA6 is a medium-dark, vivid pink. In OKLCH its lightness is 59%, its chroma 0.179 and its hue 335°. Its hue sits on the warm side of the wheel. The nearest named color is Purpley Pink (#C83CB9), ΔE 0.045 away. Black text reads best on it, at 4.61:1.

Hue familyPinks
Lightnessmedium-dark (59%)
Chromavivid (0.179)
Temperaturewarm
Nearest namePurpley Pink (#C83CB9)
Black text4.61:1
White text4.54:1

Values

HEX#BA4AA6
RGBrgb(186, 74, 166)
HSLhsl(311, 45%, 51%)
OKLCHoklch(58.9% 0.179 335.2)

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 #BA4AA6 4.54:1 AA Lc -76.3 Fine for body text
Black text on #BA4AA6 4.61:1 AA Lc 33.2 Non-text elements, placeholder text
#BA4AA6 text on white 4.54:1 AA Lc 70.9 Content text, not long reading
#BA4AA6 text on black 4.61:1 AA Lc -30.8 Non-text elements, placeholder text

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

    #F4E4F0

    oklch(93.5% 0.023 334.3)

  3. Step 200

    200

    #EDCFE5

    oklch(88.6% 0.044 335.4)

  4. Step 300

    300

    #E2ADD5

    oklch(80.8% 0.081 335.3)

  5. Step 400

    400

    #D280C0

    oklch(70.7% 0.13 335.4)

  6. Step 500

    500

    #C45DB0

    oklch(63.1% 0.165 335.3)

  7. Step 600

    600 (this color)

    #BA4AA6

    oklch(58.9% 0.179 335.2)

  8. Step 700

    700

    #963085

    oklch(49.1% 0.167 335.2)

  9. Step 800

    800

    #7A2A6C

    oklch(42.8% 0.137 335.3)

  10. Step 900

    900

    #632758

    oklch(37.8% 0.108 335.2)

  11. Step 950

    950

    #3A1833

    oklch(27% 0.067 335.7)

Export this scale for Tailwind in the Tailwind colors tool

#BA4AA6 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)#4A6BA90.189
Deuteranopia (no green cones)#6D7CA30.165
Tritanopia (no blue cones)#C351710.090
Achromatopsia (no color)#7676760.181

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA4AA6

    #BA4AA6

    oklch(58.9% 0.179 335.2)

  • #009555

    #009555

    oklch(58.8% 0.145 155.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA4AA6

    #BA4AA6

    oklch(58.9% 0.179 335.2)

  • #975AD0

    #975AD0

    oklch(58.9% 0.179 305.4)

  • #CE416E

    #CE416E

    oklch(58.8% 0.18 5.1)

Open the analogous palette in the generator

Split complementary

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

  • #BA4AA6

    #BA4AA6

    oklch(58.9% 0.179 335.2)

  • #698B00

    #698B00

    oklch(58.9% 0.148 125)

  • #009085

    #009085

    oklch(58.8% 0.103 185.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA4AA6

    #BA4AA6

    oklch(58.9% 0.179 335.2)

  • #937B00

    #937B00

    oklch(58.8% 0.121 95.3)

  • #008CA4

    #008CA4

    oklch(58.9% 0.104 215.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA4AA6

    #BA4AA6

    oklch(58.9% 0.179 335.2)

  • #B16A00

    #B16A00

    oklch(59% 0.132 65.6)

  • #009555

    #009555

    oklch(58.8% 0.145 155.2)

  • #0083CF

    #0083CF

    oklch(59% 0.149 245.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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