#BA3C98

Closest named color: Medium Violet Red (#C71585). oklch(56.7% 0.189 340.3), rgb(186, 60, 152).

Aa

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

About this color

#BA3C98 is a medium-dark, vivid pink. In OKLCH its lightness is 57%, its chroma 0.189 and its hue 340°. Its hue sits on the warm side of the wheel. The nearest named color is Medium Violet Red (#C71585), ΔE 0.049 away. White text reads best on it, at 5.01:1.

Hue familyPinks
Lightnessmedium-dark (57%)
Chromavivid (0.189)
Temperaturewarm
Nearest nameMedium Violet Red (#C71585)
Black text4.18:1
White text5.01:1

Values

HEX#BA3C98
RGBrgb(186, 60, 152)
HSLhsl(316, 51%, 48%)
OKLCHoklch(56.7% 0.189 340.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 #BA3C98 5.01:1 AA Lc -79.1 Fine for body text
Black text on #BA3C98 4.18:1 AA large text Lc 30.4 Non-text elements, placeholder text
#BA3C98 text on white 5.01:1 AA Lc 73.7 Content text, not long reading
#BA3C98 text on black 4.18:1 AA large text Lc -28.0 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

    #FBF3F8

    oklch(97.2% 0.011 339.3)

  2. Step 100

    100

    #F6E4EF

    oklch(93.6% 0.024 340.3)

  3. Step 200

    200

    #F0CEE3

    oklch(88.6% 0.047 340.6)

  4. Step 300

    300

    #E7ABD2

    oklch(80.9% 0.086 340.1)

  5. Step 400

    400

    #D87DBB

    oklch(70.7% 0.136 340.1)

  6. Step 500

    500

    #CB58A9

    oklch(63.1% 0.173 340.5)

  7. Step 600

    600 (this color)

    #BA3C98

    oklch(56.7% 0.189 340.3)

  8. Step 700

    700

    #9D297F

    oklch(49.2% 0.176 340.3)

  9. Step 800

    800

    #7F2467

    oklch(42.6% 0.146 340.2)

  10. Step 900

    900

    #672454

    oklch(37.8% 0.113 340.4)

  11. Step 950

    950

    #3C1631

    oklch(26.9% 0.071 340)

Export this scale for Tailwind in the Tailwind colors tool

#BA3C98 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)#44629B0.205
Deuteranopia (no green cones)#6B76950.179
Tritanopia (no blue cones)#C53F650.086
Achromatopsia (no color)#6F6F6F0.191

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA3C98

    #BA3C98

    oklch(56.7% 0.189 340.3)

  • #008D5C

    #008D5C

    oklch(56.8% 0.128 160.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA3C98

    #BA3C98

    oklch(56.7% 0.189 340.3)

  • #994DC7

    #994DC7

    oklch(56.8% 0.189 310.5)

  • #CC335C

    #CC335C

    oklch(56.7% 0.189 10.3)

Open the analogous palette in the generator

Split complementary

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

  • #BA3C98

    #BA3C98

    oklch(56.7% 0.189 340.3)

  • #568700

    #568700

    oklch(56.6% 0.153 130.5)

  • #008884

    #008884

    oklch(56.6% 0.097 191.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA3C98

    #BA3C98

    oklch(56.7% 0.189 340.3)

  • #877700

    #877700

    oklch(56.7% 0.118 99.9)

  • #0084A1

    #0084A1

    oklch(56.8% 0.104 220.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA3C98

    #BA3C98

    oklch(56.7% 0.189 340.3)

  • #A36800

    #A36800

    oklch(56.8% 0.122 70.8)

  • #008D5C

    #008D5C

    oklch(56.8% 0.128 160.1)

  • #0079D1

    #0079D1

    oklch(56.8% 0.162 250.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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