#BA337C

Closest named color: Medium Violet Red (#C71585). oklch(54.7% 0.184 351.8), rgb(186, 51, 124).

Aa

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

About this color

#BA337C is a medium-dark, vivid red. In OKLCH its lightness is 55%, its chroma 0.184 and its hue 352°. 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.45:1.

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

Values

HEX#BA337C
RGBrgb(186, 51, 124)
HSLhsl(328, 57%, 46%)
OKLCHoklch(54.7% 0.184 351.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 #BA337C 5.45:1 AA Lc -81.4 Fine for body text
Black text on #BA337C 3.85:1 AA large text Lc 28.0 Dividers and decoration only
#BA337C text on white 5.45:1 AA Lc 76.1 Fine for body text
#BA337C text on black 3.85:1 AA large text Lc -25.7 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

    #FCF3F6

    oklch(97.2% 0.01 354.9)

  2. Step 100

    100

    #F8E4EB

    oklch(93.7% 0.024 354.3)

  3. Step 200

    200

    #F2CDDC

    oklch(88.4% 0.046 351.7)

  4. Step 300

    300

    #EBABC6

    oklch(80.9% 0.082 352.1)

  5. Step 400

    400

    #DE7CA9

    oklch(70.7% 0.132 352)

  6. Step 500

    500

    #D25694

    oklch(63% 0.169 351.9)

  7. Step 600

    600 (this color)

    #BA337C

    oklch(54.7% 0.184 351.8)

  8. Step 700

    700

    #A3276B

    oklch(49.1% 0.171 351.9)

  9. Step 800

    800

    #842357

    oklch(42.7% 0.141 351.9)

  10. Step 900

    900

    #6B2348

    oklch(37.8% 0.111 351.9)

  11. Step 950

    950

    #3F162A

    oklch(27.1% 0.069 352.3)

Export this scale for Tailwind in the Tailwind colors tool

#BA337C 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)#4A5A7E0.205
Deuteranopia (no green cones)#7072790.182
Tritanopia (no blue cones)#C829530.066
Achromatopsia (no color)#6969690.186

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA337C

    #BA337C

    oklch(54.7% 0.184 351.8)

  • #008469

    #008469

    oklch(54.6% 0.106 171.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA337C

    #BA337C

    oklch(54.7% 0.184 351.8)

  • #9F42AF

    #9F42AF

    oklch(54.7% 0.183 321.5)

  • #C5313D

    #C5313D

    oklch(54.7% 0.184 21.7)

Open the analogous palette in the generator

Split complementary

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

  • #BA337C

    #BA337C

    oklch(54.7% 0.184 351.8)

  • #118900

    #118900

    oklch(54.8% 0.184 141.8)

  • #008088

    #008088

    oklch(54.6% 0.093 202.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA337C

    #BA337C

    oklch(54.7% 0.184 351.8)

  • #737700

    #737700

    oklch(54.7% 0.121 112.1)

  • #007BA6

    #007BA6

    oklch(54.7% 0.111 231.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA337C

    #BA337C

    oklch(54.7% 0.184 351.8)

  • #916900

    #916900

    oklch(54.7% 0.113 82.2)

  • #008469

    #008469

    oklch(54.6% 0.106 171.8)

  • #2E69DA

    #2E69DA

    oklch(54.7% 0.184 261.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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