#BA3E8C

Closest named color: Medium Violet Red (#C71585). oklch(56.4% 0.179 345.6), rgb(186, 62, 140).

Aa

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

About this color

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

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

Values

HEX#BA3E8C
RGBrgb(186, 62, 140)
HSLhsl(322, 50%, 49%)
OKLCHoklch(56.4% 0.179 345.6)

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 #BA3E8C 5.05:1 AA Lc -79.4 Fine for body text
Black text on #BA3E8C 4.15:1 AA large text Lc 30.1 Non-text elements, placeholder text
#BA3E8C text on white 5.05:1 AA Lc 74.0 Content text, not long reading
#BA3E8C text on black 4.15:1 AA large text Lc -27.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

    #FBF3F7

    oklch(97.1% 0.01 345.4)

  2. Step 100

    100

    #F6E4ED

    oklch(93.6% 0.023 345.8)

  3. Step 200

    200

    #F0CEE0

    oklch(88.5% 0.045 344.9)

  4. Step 300

    300

    #E7ACCC

    oklch(80.8% 0.08 345.3)

  5. Step 400

    400

    #D97EB2

    oklch(70.7% 0.129 345.6)

  6. Step 500

    500

    #CC5A9F

    oklch(63.1% 0.164 345.5)

  7. Step 600

    600 (this color)

    #BA3E8C

    oklch(56.4% 0.179 345.6)

  8. Step 700

    700

    #9D2C75

    oklch(49% 0.166 345.3)

  9. Step 800

    800

    #80275F

    oklch(42.8% 0.137 345.7)

  10. Step 900

    900

    #67254E

    oklch(37.6% 0.107 345.2)

  11. Step 950

    950

    #3D172E

    oklch(27.1% 0.068 345.3)

Export this scale for Tailwind in the Tailwind colors tool

#BA3E8C 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)#4C618E0.196
Deuteranopia (no green cones)#7076890.173
Tritanopia (no blue cones)#C63C5F0.074
Achromatopsia (no color)#6F6F6F0.180

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA3E8C

    #BA3E8C

    oklch(56.4% 0.179 345.6)

  • #008B65

    #008B65

    oklch(56.4% 0.118 165.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA3E8C

    #BA3E8C

    oklch(56.4% 0.179 345.6)

  • #9D4CBB

    #9D4CBB

    oklch(56.4% 0.179 315.9)

  • #C83951

    #C83951

    oklch(56.3% 0.179 15.7)

Open the analogous palette in the generator

Split complementary

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

  • #BA3E8C

    #BA3E8C

    oklch(56.4% 0.179 345.6)

  • #438A00

    #438A00

    oklch(56.5% 0.167 135.7)

  • #008788

    #008788

    oklch(56.5% 0.096 195.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA3E8C

    #BA3E8C

    oklch(56.4% 0.179 345.6)

  • #807900

    #807900

    oklch(56.4% 0.12 105.6)

  • #0082A5

    #0082A5

    oklch(56.4% 0.107 225.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA3E8C

    #BA3E8C

    oklch(56.4% 0.179 345.6)

  • #9D6A00

    #9D6A00

    oklch(56.4% 0.119 75.8)

  • #008B65

    #008B65

    oklch(56.4% 0.118 165.6)

  • #1673DB

    #1673DB

    oklch(56.4% 0.179 255.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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