#BA479E

Closest named color: Purpley Pink (#C83CB9). oklch(58.2% 0.178 338.4), rgb(186, 71, 158).

Aa

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

About this color

#BA479E is a medium-dark, vivid pink. In OKLCH its lightness is 58%, its chroma 0.178 and its hue 338°. Its hue sits on the warm side of the wheel. The nearest named color is Purpley Pink (#C83CB9), ΔE 0.052 away. White text reads best on it, at 4.68:1.

Hue familyPinks
Lightnessmedium-dark (58%)
Chromavivid (0.178)
Temperaturewarm
Nearest namePurpley Pink (#C83CB9)
Black text4.48:1
White text4.68:1

Values

HEX#BA479E
RGBrgb(186, 71, 158)
HSLhsl(315, 45%, 50%)
OKLCHoklch(58.2% 0.178 338.4)

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 #BA479E 4.68:1 AA Lc -77.2 Fine for body text
Black text on #BA479E 4.48:1 AA large text Lc 32.3 Non-text elements, placeholder text
#BA479E text on white 4.68:1 AA Lc 71.8 Content text, not long reading
#BA479E text on black 4.48:1 AA large text Lc -29.9 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

    #FBF3F8

    oklch(97.2% 0.011 339.3)

  2. Step 100

    100

    #F5E4EF

    oklch(93.6% 0.023 338.6)

  3. Step 200

    200

    #EECEE3

    oklch(88.4% 0.045 338.7)

  4. Step 300

    300

    #E4ADD2

    oklch(80.9% 0.08 338.9)

  5. Step 400

    400

    #D480BC

    oklch(70.8% 0.128 338.3)

  6. Step 500

    500

    #C65CAB

    oklch(63% 0.164 338.2)

  7. Step 600

    600 (this color)

    #BA479E

    oklch(58.2% 0.178 338.4)

  8. Step 700

    700

    #983080

    oklch(49.1% 0.165 338.3)

  9. Step 800

    800

    #7C2968

    oklch(42.8% 0.137 338.6)

  10. Step 900

    900

    #642755

    oklch(37.8% 0.107 338.1)

  11. Step 950

    950

    #3B1832

    oklch(27.1% 0.067 338.1)

Export this scale for Tailwind in the Tailwind colors tool

#BA479E 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)#4B68A10.190
Deuteranopia (no green cones)#6E7A9B0.167
Tritanopia (no blue cones)#C44B6C0.084
Achromatopsia (no color)#7474740.179

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA479E

    #BA479E

    oklch(58.2% 0.178 338.4)

  • #00925C

    #00925C

    oklch(58.2% 0.135 158.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA479E

    #BA479E

    oklch(58.2% 0.178 338.4)

  • #9956CA

    #9956CA

    oklch(58.2% 0.179 308.5)

  • #CC4066

    #CC4066

    oklch(58.2% 0.177 8.3)

Open the analogous palette in the generator

Split complementary

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

  • #BA479E

    #BA479E

    oklch(58.2% 0.178 338.4)

  • #5F8B00

    #5F8B00

    oklch(58.2% 0.153 128.5)

  • #008E86

    #008E86

    oklch(58.3% 0.101 187.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA479E

    #BA479E

    oklch(58.2% 0.178 338.4)

  • #8E7B00

    #8E7B00

    oklch(58.3% 0.121 98.4)

  • #0089A4

    #0089A4

    oklch(58.2% 0.105 218.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA479E

    #BA479E

    oklch(58.2% 0.178 338.4)

  • #AB6A00

    #AB6A00

    oklch(58.2% 0.127 68.3)

  • #00925C

    #00925C

    oklch(58.2% 0.135 158.6)

  • #007ED3

    #007ED3

    oklch(58.1% 0.159 248.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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