#BA4796

Closest named color: Medium Violet Red (#C71585). oklch(57.8% 0.172 341.9), rgb(186, 71, 150).

Aa

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

About this color

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

Hue familyPinks
Lightnessmedium-dark (58%)
Chromavivid (0.172)
Temperaturewarm
Nearest nameMedium Violet Red (#C71585)
Black text4.42:1
White text4.74:1

Values

HEX#BA4796
RGBrgb(186, 71, 150)
HSLhsl(319, 45%, 50%)
OKLCHoklch(57.8% 0.172 341.9)

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 #BA4796 4.74:1 AA Lc -77.6 Fine for body text
Black text on #BA4796 4.42:1 AA large text Lc 31.9 Non-text elements, placeholder text
#BA4796 text on white 4.74:1 AA Lc 72.2 Content text, not long reading
#BA4796 text on black 4.42:1 AA large text Lc -29.5 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

    #F5E4EE

    oklch(93.5% 0.023 341.3)

  3. Step 200

    200

    #EECEE1

    oklch(88.4% 0.044 341.6)

  4. Step 300

    300

    #E4ADCF

    oklch(80.8% 0.078 341.4)

  5. Step 400

    400

    #D580B6

    oklch(70.7% 0.124 342.1)

  6. Step 500

    500

    #C75DA4

    oklch(63% 0.158 341.8)

  7. Step 600

    600 (this color)

    #BA4796

    oklch(57.8% 0.172 341.9)

  8. Step 700

    700

    #99317A

    oklch(49.1% 0.16 341.7)

  9. Step 800

    800

    #7C2A63

    oklch(42.6% 0.132 341.7)

  10. Step 900

    900

    #652751

    oklch(37.7% 0.104 341.9)

  11. Step 950

    950

    #3B182F

    oklch(27% 0.065 342.2)

Export this scale for Tailwind in the Tailwind colors tool

#BA4796 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)#4F67980.186
Deuteranopia (no green cones)#717A930.165
Tritanopia (no blue cones)#C548680.076
Achromatopsia (no color)#7373730.174

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA4796

    #BA4796

    oklch(57.8% 0.172 341.9)

  • #009062

    #009062

    oklch(57.7% 0.127 162)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA4796

    #BA4796

    oklch(57.8% 0.172 341.9)

  • #9B55C2

    #9B55C2

    oklch(57.8% 0.172 311.8)

  • #CA425E

    #CA425E

    oklch(57.9% 0.172 12.2)

Open the analogous palette in the generator

Split complementary

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

  • #BA4796

    #BA4796

    oklch(57.8% 0.172 341.9)

  • #548C00

    #548C00

    oklch(57.8% 0.16 132)

  • #008C89

    #008C89

    oklch(57.8% 0.099 192.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA4796

    #BA4796

    oklch(57.8% 0.172 341.9)

  • #897B00

    #897B00

    oklch(57.8% 0.121 101.4)

  • #0087A7

    #0087A7

    oklch(57.8% 0.107 222.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA4796

    #BA4796

    oklch(57.8% 0.172 341.9)

  • #A66B00

    #A66B00

    oklch(57.7% 0.124 71.6)

  • #009062

    #009062

    oklch(57.7% 0.127 162)

  • #007BDB

    #007BDB

    oklch(57.9% 0.172 251.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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