#BA3A87

Closest named color: Medium Violet Red (#C71585). oklch(55.8% 0.181 347.5), rgb(186, 58, 135).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (56%)
Chromavivid (0.181)
Temperaturewarm
Nearest nameMedium Violet Red (#C71585)
Black text4.04:1
White text5.19:1

Values

HEX#BA3A87
RGBrgb(186, 58, 135)
HSLhsl(324, 52%, 48%)
OKLCHoklch(55.8% 0.181 347.5)

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 #BA3A87 5.19:1 AA Lc -80.1 Fine for body text
Black text on #BA3A87 4.04:1 AA large text Lc 29.3 Dividers and decoration only
#BA3A87 text on white 5.19:1 AA Lc 74.8 Content text, not long reading
#BA3A87 text on black 4.04: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

    #FBF3F7

    oklch(97.1% 0.01 345.4)

  2. Step 100

    100

    #F7E4ED

    oklch(93.7% 0.024 347.2)

  3. Step 200

    200

    #F1CEDF

    oklch(88.6% 0.045 347.2)

  4. Step 300

    300

    #E9ACCA

    oklch(81% 0.081 348)

  5. Step 400

    400

    #DB7DAF

    oklch(70.7% 0.13 347.8)

  6. Step 500

    500

    #CE589C

    oklch(63% 0.167 347.3)

  7. Step 600

    600 (this color)

    #BA3A87

    oklch(55.8% 0.181 347.5)

  8. Step 700

    700

    #9F2A72

    oklch(49% 0.168 347.4)

  9. Step 800

    800

    #81255D

    oklch(42.6% 0.139 347.2)

  10. Step 900

    900

    #68244C

    oklch(37.6% 0.109 347.2)

  11. Step 950

    950

    #3E162D

    oklch(27.1% 0.07 347.2)

Export this scale for Tailwind in the Tailwind colors tool

#BA3A87 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)#4B5F890.199
Deuteranopia (no green cones)#7075840.177
Tritanopia (no blue cones)#C7365B0.072
Achromatopsia (no color)#6D6D6D0.182

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA3A87

    #BA3A87

    oklch(55.8% 0.181 347.5)

  • #008866

    #008866

    oklch(55.6% 0.113 167.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA3A87

    #BA3A87

    oklch(55.8% 0.181 347.5)

  • #9D49B7

    #9D49B7

    oklch(55.8% 0.18 317.5)

  • #C7364B

    #C7364B

    oklch(55.7% 0.181 17.4)

Open the analogous palette in the generator

Split complementary

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

  • #BA3A87

    #BA3A87

    oklch(55.8% 0.181 347.5)

  • #398900

    #398900

    oklch(55.8% 0.171 137.5)

  • #008487

    #008487

    oklch(55.6% 0.095 197.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA3A87

    #BA3A87

    oklch(55.8% 0.181 347.5)

  • #7C7800

    #7C7800

    oklch(55.8% 0.12 107.4)

  • #007FA5

    #007FA5

    oklch(55.7% 0.108 227.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA3A87

    #BA3A87

    oklch(55.8% 0.181 347.5)

  • #996900

    #996900

    oklch(55.7% 0.116 77.3)

  • #008866

    #008866

    oklch(55.6% 0.113 167.6)

  • #1E70DB

    #1E70DB

    oklch(55.9% 0.181 257.4)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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