#BA2F86

Closest named color: Medium Violet Red (#C71585). oklch(54.7% 0.193 347.1), rgb(186, 47, 134).

Aa

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

About this color

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

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

Values

HEX#BA2F86
RGBrgb(186, 47, 134)
HSLhsl(322, 60%, 46%)
OKLCHoklch(54.7% 0.193 347.1)

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 #BA2F86 5.47:1 AA Lc -81.4 Fine for body text
Black text on #BA2F86 3.83:1 AA large text Lc 28.0 Dividers and decoration only
#BA2F86 text on white 5.47:1 AA Lc 76.1 Fine for body text
#BA2F86 text on black 3.83: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

    #FCF2F7

    oklch(97% 0.013 345.5)

  2. Step 100

    100

    #F7E3ED

    oklch(93.5% 0.025 345.8)

  3. Step 200

    200

    #F2CDDF

    oklch(88.5% 0.048 347.2)

  4. Step 300

    300

    #EBAACB

    oklch(80.9% 0.087 347.4)

  5. Step 400

    400

    #DE7AB1

    oklch(70.7% 0.139 347.1)

  6. Step 500

    500

    #D2549E

    oklch(63.2% 0.177 347.1)

  7. Step 600

    600 (this color)

    #BA2F86

    oklch(54.7% 0.193 347.1)

  8. Step 700

    700

    #A32374

    oklch(49.2% 0.18 347.2)

  9. Step 800

    800

    #84205E

    oklch(42.7% 0.149 347.2)

  10. Step 900

    900

    #6B214D

    oklch(37.8% 0.117 347.4)

  11. Step 950

    950

    #3F152D

    oklch(27.1% 0.073 347.7)

Export this scale for Tailwind in the Tailwind colors tool

#BA2F86 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)#435A880.215
Deuteranopia (no green cones)#6C72830.189
Tritanopia (no blue cones)#C72A570.077
Achromatopsia (no color)#6969690.195

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA2F86

    #BA2F86

    oklch(54.7% 0.193 347.1)

  • #008563

    #008563

    oklch(54.7% 0.112 167.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA2F86

    #BA2F86

    oklch(54.7% 0.193 347.1)

  • #9C41B9

    #9C41B9

    oklch(54.8% 0.193 317)

  • #C82946

    #C82946

    oklch(54.7% 0.193 17.1)

Open the analogous palette in the generator

Split complementary

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

  • #BA2F86

    #BA2F86

    oklch(54.7% 0.193 347.1)

  • #3A8500

    #3A8500

    oklch(54.7% 0.166 137)

  • #008183

    #008183

    oklch(54.7% 0.093 196.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA2F86

    #BA2F86

    oklch(54.7% 0.193 347.1)

  • #797500

    #797500

    oklch(54.8% 0.118 107.3)

  • #007CA0

    #007CA0

    oklch(54.7% 0.106 227)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA2F86

    #BA2F86

    oklch(54.7% 0.193 347.1)

  • #966600

    #966600

    oklch(54.7% 0.115 76.5)

  • #008563

    #008563

    oklch(54.7% 0.112 167.2)

  • #036BDE

    #036BDE

    oklch(54.7% 0.194 257.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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