#BA1175

Closest named color: Medium Violet Red (#C71585). oklch(52.3% 0.208 352.5), rgb(186, 17, 117).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (52%)
Chromavivid (0.208)
Temperaturewarm
Nearest nameMedium Violet Red (#C71585)
Black text3.42:1
White text6.13:1

Values

HEX#BA1175
RGBrgb(186, 17, 117)
HSLhsl(324, 83%, 40%)
OKLCHoklch(52.3% 0.208 352.5)

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 #BA1175 6.13:1 AA Lc -83.8 Fine for body text
Black text on #BA1175 3.42:1 AA large text Lc 25.5 Dividers and decoration only
#BA1175 text on white 6.13:1 AA Lc 78.6 Fine for body text
#BA1175 text on black 3.42:1 AA large text Lc -23.2 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 700.

  1. Step 50

    50

    #FDF2F6

    oklch(97.1% 0.013 353.1)

  2. Step 100

    100

    #FBE2EC

    oklch(93.6% 0.03 351.5)

  3. Step 200

    200

    #F8CBDD

    oklch(88.6% 0.056 352.3)

  4. Step 300

    300

    #F4A6C7

    oklch(81% 0.1 352.6)

  5. Step 400

    400

    #EA71AA

    oklch(70.7% 0.161 352.5)

  6. Step 500

    500

    #E04395

    oklch(63.1% 0.206 352.6)

  7. Step 600

    600

    #CB0F80

    oklch(55.6% 0.224 352.4)

  8. Step 700

    700 (this color)

    #BA1175

    oklch(52.3% 0.208 352.5)

  9. Step 800

    800

    #8E0658

    oklch(42.7% 0.173 352.4)

  10. Step 900

    900

    #721648

    oklch(37.7% 0.134 352.6)

  11. Step 950

    950

    #430F2A

    oklch(26.8% 0.085 352.4)

Export this scale for Tailwind in the Tailwind colors tool

#BA1175 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)#3B4F770.238
Deuteranopia (no green cones)#6A6C720.207
Tritanopia (no blue cones)#C900450.080
Achromatopsia (no color)#6262620.210

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA1175

    #BA1175

    oklch(52.3% 0.208 352.5)

  • #007C63

    #007C63

    oklch(52.2% 0.101 172.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA1175

    #BA1175

    oklch(52.3% 0.208 352.5)

  • #9E2DAE

    #9E2DAE

    oklch(52.3% 0.208 322.4)

  • #C6062B

    #C6062B

    oklch(52.3% 0.209 22.4)

Open the analogous palette in the generator

Split complementary

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

  • #BA1175

    #BA1175

    oklch(52.3% 0.208 352.5)

  • #018100

    #018100

    oklch(52.3% 0.178 142.5)

  • #007880

    #007880

    oklch(52.2% 0.089 203)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA1175

    #BA1175

    oklch(52.3% 0.208 352.5)

  • #6B7000

    #6B7000

    oklch(52.3% 0.117 112.8)

  • #00739D

    #00739D

    oklch(52.2% 0.108 232.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA1175

    #BA1175

    oklch(52.3% 0.208 352.5)

  • #886200

    #886200

    oklch(52.2% 0.108 82)

  • #007C63

    #007C63

    oklch(52.2% 0.101 172.2)

  • #1F5DDF

    #1F5DDF

    oklch(52.3% 0.208 262.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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