#BA3D87

Closest named color: Medium Violet Red (#C71585). oklch(56.1% 0.177 347.8), rgb(186, 61, 135).

Aa

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

About this color

#BA3D87 is a medium-dark, vivid red. In OKLCH its lightness is 56%, its chroma 0.177 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.046 away. White text reads best on it, at 5.11:1.

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

Values

HEX#BA3D87
RGBrgb(186, 61, 135)
HSLhsl(324, 51%, 48%)
OKLCHoklch(56.1% 0.177 347.8)

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 #BA3D87 5.11:1 AA Lc -79.8 Fine for body text
Black text on #BA3D87 4.10:1 AA large text Lc 29.7 Dividers and decoration only
#BA3D87 text on white 5.11:1 AA Lc 74.4 Content text, not long reading
#BA3D87 text on black 4.10:1 AA large text Lc -27.4 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

    #F6E4ED

    oklch(93.6% 0.023 345.8)

  3. Step 200

    200

    #F1CEDE

    oklch(88.6% 0.044 348.7)

  4. Step 300

    300

    #E8ACCA

    oklch(80.9% 0.08 347.6)

  5. Step 400

    400

    #DA7EAF

    oklch(70.7% 0.128 347.7)

  6. Step 500

    500

    #CD5A9B

    oklch(63.1% 0.162 347.7)

  7. Step 600

    600 (this color)

    #BA3D87

    oklch(56.1% 0.177 347.8)

  8. Step 700

    700

    #9E2C71

    oklch(49% 0.165 347.7)

  9. Step 800

    800

    #81275C

    oklch(42.8% 0.136 348.1)

  10. Step 900

    900

    #68254C

    oklch(37.7% 0.107 347.4)

  11. Step 950

    950

    #3D172C

    oklch(27% 0.066 348.1)

Export this scale for Tailwind in the Tailwind colors tool

#BA3D87 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)#4D60890.195
Deuteranopia (no green cones)#7176840.174
Tritanopia (no blue cones)#C7395C0.070
Achromatopsia (no color)#6E6E6E0.178

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA3D87

    #BA3D87

    oklch(56.1% 0.177 347.8)

  • #008967

    #008967

    oklch(55.9% 0.114 167.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA3D87

    #BA3D87

    oklch(56.1% 0.177 347.8)

  • #9E4BB7

    #9E4BB7

    oklch(56.2% 0.177 317.7)

  • #C73A4C

    #C73A4C

    oklch(56.1% 0.177 17.9)

Open the analogous palette in the generator

Split complementary

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

  • #BA3D87

    #BA3D87

    oklch(56.1% 0.177 347.8)

  • #388A00

    #388A00

    oklch(56% 0.172 137.8)

  • #008589

    #008589

    oklch(56% 0.095 198.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA3D87

    #BA3D87

    oklch(56.1% 0.177 347.8)

  • #7C7900

    #7C7900

    oklch(56% 0.121 108)

  • #0080A7

    #0080A7

    oklch(56% 0.11 228.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA3D87

    #BA3D87

    oklch(56.1% 0.177 347.8)

  • #9A6A00

    #9A6A00

    oklch(56% 0.117 77.5)

  • #008967

    #008967

    oklch(55.9% 0.114 167.7)

  • #2471DA

    #2471DA

    oklch(56.1% 0.177 257.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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