#BA2D9B

Closest named color: Medium Violet Red (#C71585). oklch(55.5% 0.208 338.6), rgb(186, 45, 155).

Aa

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

About this color

#BA2D9B is a medium-dark, vivid pink. In OKLCH its lightness is 56%, its chroma 0.208 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.33:1.

Hue familyPinks
Lightnessmedium-dark (56%)
Chromavivid (0.208)
Temperaturewarm
Nearest nameMedium Violet Red (#C71585)
Black text3.93:1
White text5.33:1

Values

HEX#BA2D9B
RGBrgb(186, 45, 155)
HSLhsl(313, 61%, 45%)
OKLCHoklch(55.5% 0.208 338.6)

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 #BA2D9B 5.33:1 AA Lc -80.6 Fine for body text
Black text on #BA2D9B 3.93:1 AA large text Lc 28.8 Dividers and decoration only
#BA2D9B text on white 5.33:1 AA Lc 75.2 Fine for body text
#BA2D9B text on black 3.93:1 AA large text Lc -26.5 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

    #FCF2F8

    oklch(97.1% 0.013 340.5)

  2. Step 100

    100

    #F7E3F0

    oklch(93.6% 0.028 338.6)

  3. Step 200

    200

    #F1CCE5

    oklch(88.4% 0.053 338)

  4. Step 300

    300

    #E9A9D5

    oklch(80.8% 0.094 338.5)

  5. Step 400

    400

    #DC79C0

    oklch(70.8% 0.15 338.7)

  6. Step 500

    500

    #CF51B0

    oklch(63.1% 0.191 338.5)

  7. Step 600

    600 (this color)

    #BA2D9B

    oklch(55.5% 0.208 338.6)

  8. Step 700

    700

    #A01D85

    oklch(49.1% 0.194 338.4)

  9. Step 800

    800

    #821C6C

    oklch(42.7% 0.161 338.4)

  10. Step 900

    900

    #691F57

    oklch(37.7% 0.125 338.9)

  11. Step 950

    950

    #3E1433

    oklch(27.1% 0.079 339.1)

Export this scale for Tailwind in the Tailwind colors tool

#BA2D9B 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)#355D9E0.229
Deuteranopia (no green cones)#6473980.197
Tritanopia (no blue cones)#C534610.099
Achromatopsia (no color)#6B6B6B0.210

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA2D9B

    #BA2D9B

    oklch(55.5% 0.208 338.6)

  • #008956

    #008956

    oklch(55.5% 0.129 158.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA2D9B

    #BA2D9B

    oklch(55.5% 0.208 338.6)

  • #9643CD

    #9643CD

    oklch(55.6% 0.208 308.7)

  • #CE1D5A

    #CE1D5A

    oklch(55.5% 0.208 8.6)

Open the analogous palette in the generator

Split complementary

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

  • #BA2D9B

    #BA2D9B

    oklch(55.5% 0.208 338.6)

  • #588200

    #588200

    oklch(55.4% 0.146 128.7)

  • #00857E

    #00857E

    oklch(55.6% 0.097 188.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA2D9B

    #BA2D9B

    oklch(55.5% 0.208 338.6)

  • #857300

    #857300

    oklch(55.6% 0.115 98.3)

  • #00809A

    #00809A

    oklch(55.4% 0.1 218.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA2D9B

    #BA2D9B

    oklch(55.5% 0.208 338.6)

  • #A06300

    #A06300

    oklch(55.4% 0.121 68.5)

  • #008956

    #008956

    oklch(55.5% 0.129 158.6)

  • #0076C7

    #0076C7

    oklch(55.5% 0.153 248.9)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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