#BA5197

Closest named color: Light Plum (#9D5783). oklch(59.1% 0.158 342.3), rgb(186, 81, 151).

Aa

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

About this color

#BA5197 is a medium-dark, vivid pink. In OKLCH its lightness is 59%, its chroma 0.158 and its hue 342°. Its hue sits on the warm side of the wheel. The nearest named color is Light Plum (#9D5783), ΔE 0.063 away. Black text reads best on it, at 4.71:1.

Hue familyPinks
Lightnessmedium-dark (59%)
Chromavivid (0.158)
Temperaturewarm
Nearest nameLight Plum (#9D5783)
Black text4.71:1
White text4.45:1

Values

HEX#BA5197
RGBrgb(186, 81, 151)
HSLhsl(320, 43%, 52%)
OKLCHoklch(59.1% 0.158 342.3)

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 #BA5197 4.45:1 AA large text Lc -75.8 Fine for body text
Black text on #BA5197 4.71:1 AA Lc 33.7 Non-text elements, placeholder text
#BA5197 text on white 4.45:1 AA large text Lc 70.4 Content text, not long reading
#BA5197 text on black 4.71:1 AA Lc -31.3 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

    #FAF3F7

    oklch(97.1% 0.009 341.8)

  2. Step 100

    100

    #F4E5EE

    oklch(93.6% 0.02 340.7)

  3. Step 200

    200

    #EDCFE0

    oklch(88.4% 0.04 342.9)

  4. Step 300

    300

    #E2AFCD

    oklch(80.9% 0.071 342.7)

  5. Step 400

    400

    #D183B4

    oklch(70.6% 0.114 342.2)

  6. Step 500

    500

    #C362A1

    oklch(63.1% 0.145 342.4)

  7. Step 600

    600 (this color)

    #BA5197

    oklch(59.1% 0.158 342.3)

  8. Step 700

    700

    #953777

    oklch(49% 0.146 342.2)

  9. Step 800

    800

    #792E61

    oklch(42.6% 0.122 342)

  10. Step 900

    900

    #622A4F

    oklch(37.6% 0.095 342.3)

  11. Step 950

    950

    #3A192E

    oklch(27% 0.061 343)

Export this scale for Tailwind in the Tailwind colors tool

#BA5197 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)#586D990.169
Deuteranopia (no green cones)#767E940.151
Tritanopia (no blue cones)#C4526D0.069
Achromatopsia (no color)#7777770.159

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA5197

    #BA5197

    oklch(59.1% 0.158 342.3)

  • #009566

    #009566

    oklch(59.2% 0.129 162.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA5197

    #BA5197

    oklch(59.1% 0.158 342.3)

  • #9D5DC0

    #9D5DC0

    oklch(59.1% 0.158 312.3)

  • #C94D64

    #C94D64

    oklch(59.1% 0.158 12.1)

Open the analogous palette in the generator

Split complementary

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

  • #BA5197

    #BA5197

    oklch(59.1% 0.158 342.3)

  • #579013

    #579013

    oklch(59.1% 0.158 132.5)

  • #00908D

    #00908D

    oklch(59% 0.101 192.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA5197

    #BA5197

    oklch(59.1% 0.158 342.3)

  • #8C7F00

    #8C7F00

    oklch(59% 0.124 102.3)

  • #008BAC

    #008BAC

    oklch(59% 0.109 222.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA5197

    #BA5197

    oklch(59.1% 0.158 342.3)

  • #AB6F00

    #AB6F00

    oklch(59.1% 0.127 72.1)

  • #009566

    #009566

    oklch(59.2% 0.129 162.2)

  • #267FD8

    #267FD8

    oklch(59.1% 0.158 252.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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