#BA0C6B

Closest named color: Medium Violet Red (#C71585). oklch(51.7% 0.206 356.4), rgb(186, 12, 107).

Aa

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

About this color

#BA0C6B is a medium-dark, vivid red. In OKLCH its lightness is 52%, its chroma 0.206 and its hue 356°. 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 6.26:1.

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

Values

HEX#BA0C6B
RGBrgb(186, 12, 107)
HSLhsl(327, 88%, 39%)
OKLCHoklch(51.7% 0.206 356.4)

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 #BA0C6B 6.26:1 AA Lc -84.3 Fine for body text
Black text on #BA0C6B 3.35:1 AA large text Lc 25.0 Dividers and decoration only
#BA0C6B text on white 6.26:1 AA Lc 79.0 Fine for body text
#BA0C6B text on black 3.35:1 AA large text Lc -22.8 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

    #FEF2F6

    oklch(97.2% 0.014 355)

  2. Step 100

    100

    #FBE2EA

    oklch(93.5% 0.029 356.3)

  3. Step 200

    200

    #F9CBDA

    oklch(88.6% 0.055 356.8)

  4. Step 300

    300

    #F5A6C2

    oklch(81% 0.099 356.6)

  5. Step 400

    400

    #EC71A3

    oklch(70.7% 0.16 356.4)

  6. Step 500

    500

    #E2438C

    oklch(63.1% 0.204 356.6)

  7. Step 600

    600

    #CD0E76

    oklch(55.6% 0.222 356.6)

  8. Step 700

    700 (this color)

    #BA0C6B

    oklch(51.7% 0.206 356.4)

  9. Step 800

    800

    #8F0651

    oklch(42.6% 0.17 356.4)

  10. Step 900

    900

    #731643

    oklch(37.6% 0.132 356.5)

  11. Step 950

    950

    #440F27

    oklch(26.9% 0.085 356.7)

Export this scale for Tailwind in the Tailwind colors tool

#BA0C6B 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)#3E4D6D0.236
Deuteranopia (no green cones)#6C6B670.208
Tritanopia (no blue cones)#CA003F0.074
Achromatopsia (no color)#6060600.208

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA0C6B

    #BA0C6B

    oklch(51.7% 0.206 356.4)

  • #007A66

    #007A66

    oklch(51.8% 0.097 175.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA0C6B

    #BA0C6B

    oklch(51.7% 0.206 356.4)

  • #A029A5

    #A029A5

    oklch(51.7% 0.206 326.3)

  • #C30B1A

    #C30B1A

    oklch(51.7% 0.206 26.5)

Open the analogous palette in the generator

Split complementary

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

  • #BA0C6B

    #BA0C6B

    oklch(51.7% 0.206 356.4)

  • #007E28

    #007E28

    oklch(51.6% 0.156 146.4)

  • #007681

    #007681

    oklch(51.7% 0.088 206.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA0C6B

    #BA0C6B

    oklch(51.7% 0.206 356.4)

  • #657000

    #657000

    oklch(51.8% 0.119 116.3)

  • #0070A0

    #0070A0

    oklch(51.6% 0.113 237)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA0C6B

    #BA0C6B

    oklch(51.7% 0.206 356.4)

  • #836300

    #836300

    oklch(51.8% 0.106 86.4)

  • #007A66

    #007A66

    oklch(51.8% 0.097 175.9)

  • #3158DC

    #3158DC

    oklch(51.7% 0.206 266.4)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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