#BA488F

Closest named color: Medium Violet Red (#C71585). oklch(57.6% 0.166 345.2), rgb(186, 72, 143).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (58%)
Chromavivid (0.166)
Temperaturewarm
Nearest nameMedium Violet Red (#C71585)
Black text4.41:1
White text4.76:1

Values

HEX#BA488F
RGBrgb(186, 72, 143)
HSLhsl(323, 45%, 51%)
OKLCHoklch(57.6% 0.166 345.2)

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 #BA488F 4.76:1 AA Lc -77.8 Fine for body text
Black text on #BA488F 4.41:1 AA large text Lc 31.8 Non-text elements, placeholder text
#BA488F text on white 4.76:1 AA Lc 72.3 Content text, not long reading
#BA488F text on black 4.41:1 AA large text Lc -29.4 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

    #F5E4ED

    oklch(93.5% 0.022 344.2)

  3. Step 200

    200

    #EFCFDF

    oklch(88.6% 0.041 346.3)

  4. Step 300

    300

    #E5AECB

    oklch(81% 0.074 345.9)

  5. Step 400

    400

    #D581B1

    oklch(70.7% 0.119 345.3)

  6. Step 500

    500

    #C85E9E

    oklch(63.1% 0.154 345.2)

  7. Step 600

    600 (this color)

    #BA488F

    oklch(57.6% 0.166 345.2)

  8. Step 700

    700

    #9A3274

    oklch(49.1% 0.156 345.3)

  9. Step 800

    800

    #7D2B5E

    oklch(42.7% 0.128 345.6)

  10. Step 900

    900

    #65284D

    oklch(37.7% 0.1 345.5)

  11. Step 950

    950

    #3B182D

    oklch(26.9% 0.063 345.2)

Export this scale for Tailwind in the Tailwind colors tool

#BA488F 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)#5367910.181
Deuteranopia (no green cones)#747A8C0.161
Tritanopia (no blue cones)#C647650.069
Achromatopsia (no color)#7373730.168

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA488F

    #BA488F

    oklch(57.6% 0.166 345.2)

  • #008F67

    #008F67

    oklch(57.6% 0.121 165)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA488F

    #BA488F

    oklch(57.6% 0.166 345.2)

  • #9E55BB

    #9E55BB

    oklch(57.8% 0.166 315.5)

  • #C84458

    #C84458

    oklch(57.6% 0.167 15.3)

Open the analogous palette in the generator

Split complementary

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

  • #BA488F

    #BA488F

    oklch(57.6% 0.166 345.2)

  • #488D07

    #488D07

    oklch(57.5% 0.166 135.3)

  • #008B8B

    #008B8B

    oklch(57.7% 0.098 194.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA488F

    #BA488F

    oklch(57.6% 0.166 345.2)

  • #847C00

    #847C00

    oklch(57.5% 0.122 105.1)

  • #0086AA

    #0086AA

    oklch(57.7% 0.11 225.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA488F

    #BA488F

    oklch(57.6% 0.166 345.2)

  • #A26D00

    #A26D00

    oklch(57.6% 0.121 75.3)

  • #008F67

    #008F67

    oklch(57.6% 0.121 165)

  • #2678D8

    #2678D8

    oklch(57.6% 0.166 255.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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