#BA5298

Closest named color: Light Plum (#9D5783). oklch(59.3% 0.157 341.9), rgb(186, 82, 152).

Aa

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

About this color

#BA5298 is a medium-dark, vivid pink. In OKLCH its lightness is 59%, its chroma 0.157 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.74:1.

Hue familyPinks
Lightnessmedium-dark (59%)
Chromavivid (0.157)
Temperaturewarm
Nearest nameLight Plum (#9D5783)
Black text4.74:1
White text4.42:1

Values

HEX#BA5298
RGBrgb(186, 82, 152)
HSLhsl(320, 43%, 53%)
OKLCHoklch(59.3% 0.157 341.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 #BA5298 4.42:1 AA large text Lc -75.6 Fine for body text
Black text on #BA5298 4.74:1 AA Lc 34.0 Non-text elements, placeholder text
#BA5298 text on white 4.42:1 AA large text Lc 70.1 Content text, not long reading
#BA5298 text on black 4.74:1 AA Lc -31.5 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

    #ECCFE0

    oklch(88.4% 0.039 341.9)

  4. Step 300

    300

    #E1AFCE

    oklch(80.9% 0.071 341.1)

  5. Step 400

    400

    #D184B4

    oklch(70.8% 0.112 342.4)

  6. Step 500

    500

    #C362A2

    oklch(63.1% 0.145 341.9)

  7. Step 600

    600 (this color)

    #BA5298

    oklch(59.3% 0.157 341.9)

  8. Step 700

    700

    #953778

    oklch(49.1% 0.147 341.7)

  9. Step 800

    800

    #792F61

    oklch(42.7% 0.12 342.1)

  10. Step 900

    900

    #622A4F

    oklch(37.6% 0.095 342.3)

  11. Step 950

    950

    #3A192F

    oklch(27% 0.061 341.5)

Export this scale for Tailwind in the Tailwind colors tool

#BA5298 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)#596D9A0.167
Deuteranopia (no green cones)#767E950.150
Tritanopia (no blue cones)#C4536E0.069
Achromatopsia (no color)#7878780.158

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA5298

    #BA5298

    oklch(59.3% 0.157 341.9)

  • #009566

    #009566

    oklch(59.2% 0.129 162.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA5298

    #BA5298

    oklch(59.3% 0.157 341.9)

  • #9D5EC1

    #9D5EC1

    oklch(59.3% 0.157 311.9)

  • #C94E65

    #C94E65

    oklch(59.3% 0.157 11.9)

Open the analogous palette in the generator

Split complementary

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

  • #BA5298

    #BA5298

    oklch(59.3% 0.157 341.9)

  • #599014

    #599014

    oklch(59.2% 0.157 132)

  • #00918E

    #00918E

    oklch(59.3% 0.102 192.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA5298

    #BA5298

    oklch(59.3% 0.157 341.9)

  • #8D8000

    #8D8000

    oklch(59.3% 0.124 102.3)

  • #008CAC

    #008CAC

    oklch(59.3% 0.109 221.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA5298

    #BA5298

    oklch(59.3% 0.157 341.9)

  • #AC6F00

    #AC6F00

    oklch(59.2% 0.127 71.6)

  • #009566

    #009566

    oklch(59.2% 0.129 162.2)

  • #2580D7

    #2580D7

    oklch(59.3% 0.156 251.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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