#BA388C

Closest named color: Medium Violet Red (#C71585). oklch(55.8% 0.186 345.2), rgb(186, 56, 140).

Aa

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

About this color

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

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

Values

HEX#BA388C
RGBrgb(186, 56, 140)
HSLhsl(321, 54%, 47%)
OKLCHoklch(55.8% 0.186 345.2)

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 #BA388C 5.20:1 AA Lc -80.2 Fine for body text
Black text on #BA388C 4.03:1 AA large text Lc 29.3 Dividers and decoration only
#BA388C text on white 5.20:1 AA Lc 74.8 Content text, not long reading
#BA388C text on black 4.03:1 AA large text Lc -26.9 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

    #F1CDE0

    oklch(88.4% 0.047 345)

  4. Step 300

    300

    #E9ABCD

    oklch(80.9% 0.084 345.1)

  5. Step 400

    400

    #DB7CB3

    oklch(70.7% 0.135 345.4)

  6. Step 500

    500

    #CE57A1

    oklch(63.1% 0.171 344.9)

  7. Step 600

    600 (this color)

    #BA388C

    oklch(55.8% 0.186 345.2)

  8. Step 700

    700

    #9F2876

    oklch(49% 0.173 345.2)

  9. Step 800

    800

    #812460

    oklch(42.6% 0.142 345.2)

  10. Step 900

    900

    #68234F

    oklch(37.6% 0.112 344.6)

  11. Step 950

    950

    #3E162E

    oklch(27.1% 0.071 345.8)

Export this scale for Tailwind in the Tailwind colors tool

#BA388C 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)#475F8E0.205
Deuteranopia (no green cones)#6E75890.181
Tritanopia (no blue cones)#C6365D0.077
Achromatopsia (no color)#6D6D6D0.188

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA388C

    #BA388C

    oklch(55.8% 0.186 345.2)

  • #008963

    #008963

    oklch(55.8% 0.117 165.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA388C

    #BA388C

    oklch(55.8% 0.186 345.2)

  • #9C48BD

    #9C48BD

    oklch(55.9% 0.187 315.2)

  • #C9324F

    #C9324F

    oklch(55.8% 0.186 15.2)

Open the analogous palette in the generator

Split complementary

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

  • #BA388C

    #BA388C

    oklch(55.8% 0.186 345.2)

  • #448700

    #448700

    oklch(55.7% 0.163 135.2)

  • #008585

    #008585

    oklch(55.8% 0.095 194.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA388C

    #BA388C

    oklch(55.8% 0.186 345.2)

  • #7E7700

    #7E7700

    oklch(55.8% 0.119 105.5)

  • #0080A2

    #0080A2

    oklch(55.8% 0.106 224.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA388C

    #BA388C

    oklch(55.8% 0.186 345.2)

  • #9B6800

    #9B6800

    oklch(55.7% 0.117 75.3)

  • #008963

    #008963

    oklch(55.8% 0.117 165.3)

  • #0071DC

    #0071DC

    oklch(55.8% 0.185 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 #BA388C, closest first.

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

Similar named colors

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

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