#BA339A

Closest named color: Medium Violet Red (#C71585). oklch(56% 0.201 339.2), rgb(186, 51, 154).

Aa

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

About this color

#BA339A is a medium-dark, vivid pink. In OKLCH its lightness is 56%, its chroma 0.201 and its hue 339°. Its hue sits on the warm side of the wheel. The nearest named color is Medium Violet Red (#C71585), ΔE 0.044 away. White text reads best on it, at 5.21:1.

Hue familyPinks
Lightnessmedium-dark (56%)
Chromavivid (0.201)
Temperaturewarm
Nearest nameMedium Violet Red (#C71585)
Black text4.02:1
White text5.21:1

Values

HEX#BA339A
RGBrgb(186, 51, 154)
HSLhsl(314, 57%, 46%)
OKLCHoklch(56% 0.201 339.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 #BA339A 5.21:1 AA Lc -80.1 Fine for body text
Black text on #BA339A 4.02:1 AA large text Lc 29.4 Dividers and decoration only
#BA339A text on white 5.21:1 AA Lc 74.7 Content text, not long reading
#BA339A text on black 4.02:1 AA large text Lc -27.0 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

    #FBF2F8

    oklch(97% 0.012 337.5)

  2. Step 100

    100

    #F7E3F0

    oklch(93.6% 0.028 338.6)

  3. Step 200

    200

    #F1CDE4

    oklch(88.5% 0.05 339.6)

  4. Step 300

    300

    #E8AAD4

    oklch(80.9% 0.09 338.9)

  5. Step 400

    400

    #DA7ABE

    oklch(70.6% 0.145 339)

  6. Step 500

    500

    #CE53AD

    oklch(63.1% 0.185 339.4)

  7. Step 600

    600 (this color)

    #BA339A

    oklch(56% 0.201 339.2)

  8. Step 700

    700

    #9F2282

    oklch(49.1% 0.187 339.4)

  9. Step 800

    800

    #81206A

    oklch(42.7% 0.154 339.2)

  10. Step 900

    900

    #682156

    oklch(37.7% 0.12 339.2)

  11. Step 950

    950

    #3D1532

    oklch(27% 0.075 339.5)

Export this scale for Tailwind in the Tailwind colors tool

#BA339A 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)#3B5F9D0.220
Deuteranopia (no green cones)#6774970.190
Tritanopia (no blue cones)#C538620.095
Achromatopsia (no color)#6C6C6C0.203

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA339A

    #BA339A

    oklch(56% 0.201 339.2)

  • #008A58

    #008A58

    oklch(55.9% 0.128 159.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA339A

    #BA339A

    oklch(56% 0.201 339.2)

  • #9747CB

    #9747CB

    oklch(56% 0.201 309.2)

  • #CD265B

    #CD265B

    oklch(55.9% 0.201 9)

Open the analogous palette in the generator

Split complementary

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

  • #BA339A

    #BA339A

    oklch(56% 0.201 339.2)

  • #588400

    #588400

    oklch(56% 0.149 129.2)

  • #008680

    #008680

    oklch(55.9% 0.097 189.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA339A

    #BA339A

    oklch(56% 0.201 339.2)

  • #857500

    #857500

    oklch(56% 0.116 99.8)

  • #00829D

    #00829D

    oklch(56.1% 0.102 219.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA339A

    #BA339A

    oklch(56% 0.201 339.2)

  • #A16500

    #A16500

    oklch(55.9% 0.122 69.5)

  • #008A58

    #008A58

    oklch(55.9% 0.128 159.2)

  • #0077CA

    #0077CA

    oklch(55.9% 0.155 249.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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