#BA3A8C

Closest named color: Medium Violet Red (#C71585). oklch(56% 0.184 345.3), rgb(186, 58, 140).

Aa

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

About this color

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

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

Values

HEX#BA3A8C
RGBrgb(186, 58, 140)
HSLhsl(322, 52%, 48%)
OKLCHoklch(56% 0.184 345.3)

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 #BA3A8C 5.15:1 AA Lc -79.9 Fine for body text
Black text on #BA3A8C 4.07:1 AA large text Lc 29.5 Dividers and decoration only
#BA3A8C text on white 5.15:1 AA Lc 74.5 Content text, not long reading
#BA3A8C text on black 4.07:1 AA large text Lc -27.2 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

    #F1CEE0

    oklch(88.6% 0.046 345.7)

  4. Step 300

    300

    #E8ABCD

    oklch(80.8% 0.084 344.6)

  5. Step 400

    400

    #DA7DB3

    oklch(70.7% 0.132 345.2)

  6. Step 500

    500

    #CE58A0

    oklch(63.2% 0.169 345.4)

  7. Step 600

    600 (this color)

    #BA3A8C

    oklch(56% 0.184 345.3)

  8. Step 700

    700

    #9F2A76

    oklch(49.2% 0.171 345.4)

  9. Step 800

    800

    #812560

    oklch(42.8% 0.141 345.3)

  10. Step 900

    900

    #68244E

    oklch(37.7% 0.11 345.6)

  11. Step 950

    950

    #3D162E

    oklch(26.9% 0.07 344.9)

Export this scale for Tailwind in the Tailwind colors tool

#BA3A8C 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)#485F8E0.203
Deuteranopia (no green cones)#6E75890.178
Tritanopia (no blue cones)#C6385E0.076
Achromatopsia (no color)#6D6D6D0.186

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA3A8C

    #BA3A8C

    oklch(56% 0.184 345.3)

  • #008963

    #008963

    oklch(55.8% 0.117 165.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA3A8C

    #BA3A8C

    oklch(56% 0.184 345.3)

  • #9C49BC

    #9C49BC

    oklch(55.9% 0.184 315.4)

  • #C93450

    #C93450

    oklch(56% 0.185 15.1)

Open the analogous palette in the generator

Split complementary

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

  • #BA3A8C

    #BA3A8C

    oklch(56% 0.184 345.3)

  • #448800

    #448800

    oklch(56% 0.164 135.3)

  • #008586

    #008586

    oklch(55.9% 0.095 195.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA3A8C

    #BA3A8C

    oklch(56% 0.184 345.3)

  • #7F7800

    #7F7800

    oklch(56.1% 0.119 105.6)

  • #0081A3

    #0081A3

    oklch(56.1% 0.106 224.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA3A8C

    #BA3A8C

    oklch(56% 0.184 345.3)

  • #9C6900

    #9C6900

    oklch(56.1% 0.118 75.5)

  • #008963

    #008963

    oklch(55.8% 0.117 165.3)

  • #0672DC

    #0672DC

    oklch(56% 0.183 255.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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