#BA3786

Closest named color: Medium Violet Red (#C71585). oklch(55.4% 0.184 347.7), rgb(186, 55, 134).

Aa

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

About this color

#BA3786 is a medium-dark, vivid red. In OKLCH its lightness is 55%, its chroma 0.184 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.038 away. White text reads best on it, at 5.27:1.

Hue familyReds
Lightnessmedium-dark (55%)
Chromavivid (0.184)
Temperaturewarm
Nearest nameMedium Violet Red (#C71585)
Black text3.97:1
White text5.27:1

Values

HEX#BA3786
RGBrgb(186, 55, 134)
HSLhsl(324, 54%, 47%)
OKLCHoklch(55.4% 0.184 347.7)

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 #BA3786 5.27:1 AA Lc -80.6 Fine for body text
Black text on #BA3786 3.97:1 AA large text Lc 28.9 Dividers and decoration only
#BA3786 text on white 5.27:1 AA Lc 75.2 Fine for body text
#BA3786 text on black 3.97: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

    #FCF3F7

    oklch(97.2% 0.011 348.4)

  2. Step 100

    100

    #F7E4ED

    oklch(93.7% 0.024 347.2)

  3. Step 200

    200

    #F1CDDF

    oklch(88.4% 0.047 346.5)

  4. Step 300

    300

    #E9ABCA

    oklch(80.8% 0.083 347.6)

  5. Step 400

    400

    #DC7CAF

    oklch(70.6% 0.133 347.9)

  6. Step 500

    500

    #CF579C

    oklch(63% 0.169 347.5)

  7. Step 600

    600 (this color)

    #BA3786

    oklch(55.4% 0.184 347.7)

  8. Step 700

    700

    #A02872

    oklch(49% 0.171 347.5)

  9. Step 800

    800

    #82245D

    oklch(42.7% 0.141 347.5)

  10. Step 900

    900

    #69234C

    oklch(37.6% 0.111 347.6)

  11. Step 950

    950

    #3E162D

    oklch(27.1% 0.07 347.2)

Export this scale for Tailwind in the Tailwind colors tool

#BA3786 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)#495D880.204
Deuteranopia (no green cones)#6F74830.180
Tritanopia (no blue cones)#C7325A0.072
Achromatopsia (no color)#6C6C6C0.186

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA3786

    #BA3786

    oklch(55.4% 0.184 347.7)

  • #008766

    #008766

    oklch(55.4% 0.112 168.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA3786

    #BA3786

    oklch(55.4% 0.184 347.7)

  • #9D46B7

    #9D46B7

    oklch(55.4% 0.184 317.7)

  • #C73349

    #C73349

    oklch(55.4% 0.183 17.6)

Open the analogous palette in the generator

Split complementary

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

  • #BA3786

    #BA3786

    oklch(55.4% 0.184 347.7)

  • #388800

    #388800

    oklch(55.4% 0.17 137.6)

  • #008386

    #008386

    oklch(55.3% 0.094 197.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA3786

    #BA3786

    oklch(55.4% 0.184 347.7)

  • #7A7700

    #7A7700

    oklch(55.4% 0.119 108)

  • #007EA4

    #007EA4

    oklch(55.4% 0.108 228)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA3786

    #BA3786

    oklch(55.4% 0.184 347.7)

  • #986900

    #986900

    oklch(55.6% 0.116 77.9)

  • #008766

    #008766

    oklch(55.4% 0.112 168.1)

  • #1B6EDB

    #1B6EDB

    oklch(55.4% 0.184 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 #BA3786, closest first.

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

Similar named colors

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

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