#BA3176

Closest named color: Medium Violet Red (#C71585). oklch(54.3% 0.183 354.3), rgb(186, 49, 118).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (54%)
Chromavivid (0.183)
Temperaturewarm
Nearest nameMedium Violet Red (#C71585)
Black text3.78:1
White text5.54:1

Values

HEX#BA3176
RGBrgb(186, 49, 118)
HSLhsl(330, 58%, 46%)
OKLCHoklch(54.3% 0.183 354.3)

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 #BA3176 5.54:1 AA Lc -81.8 Fine for body text
Black text on #BA3176 3.78:1 AA large text Lc 27.6 Dividers and decoration only
#BA3176 text on white 5.54:1 AA Lc 76.5 Fine for body text
#BA3176 text on black 3.78:1 AA large text Lc -25.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 600.

  1. Step 50

    50

    #FCF3F6

    oklch(97.2% 0.01 354.9)

  2. Step 100

    100

    #F8E4EB

    oklch(93.7% 0.024 354.3)

  3. Step 200

    200

    #F3CDDB

    oklch(88.5% 0.046 353.9)

  4. Step 300

    300

    #ECABC4

    oklch(80.9% 0.082 354.3)

  5. Step 400

    400

    #DF7CA6

    oklch(70.7% 0.131 354.1)

  6. Step 500

    500

    #D35690

    oklch(63% 0.168 354.1)

  7. Step 600

    600 (this color)

    #BA3176

    oklch(54.3% 0.183 354.3)

  8. Step 700

    700

    #A42767

    oklch(49.2% 0.17 354.2)

  9. Step 800

    800

    #852254

    oklch(42.6% 0.142 354)

  10. Step 900

    900

    #6B2345

    oklch(37.7% 0.109 354.4)

  11. Step 950

    950

    #3F1528

    oklch(26.9% 0.07 354.6)

Export this scale for Tailwind in the Tailwind colors tool

#BA3176 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)#4B58780.205
Deuteranopia (no green cones)#7172730.184
Tritanopia (no blue cones)#C9234F0.063
Achromatopsia (no color)#6868680.185

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA3176

    #BA3176

    oklch(54.3% 0.183 354.3)

  • #00826B

    #00826B

    oklch(54.1% 0.103 174.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA3176

    #BA3176

    oklch(54.3% 0.183 354.3)

  • #A13FAA

    #A13FAA

    oklch(54.3% 0.184 324.3)

  • #C33135

    #C33135

    oklch(54.2% 0.183 24.5)

Open the analogous palette in the generator

Split complementary

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

  • #BA3176

    #BA3176

    oklch(54.3% 0.183 354.3)

  • #00871D

    #00871D

    oklch(54.1% 0.173 144.4)

  • #007F88

    #007F88

    oklch(54.4% 0.093 203.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA3176

    #BA3176

    oklch(54.3% 0.183 354.3)

  • #6F7700

    #6F7700

    oklch(54.4% 0.123 114.4)

  • #0079A7

    #0079A7

    oklch(54.3% 0.114 234)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA3176

    #BA3176

    oklch(54.3% 0.183 354.3)

  • #8E6900

    #8E6900

    oklch(54.4% 0.112 84.2)

  • #00826B

    #00826B

    oklch(54.1% 0.103 174.5)

  • #3766D8

    #3766D8

    oklch(54.3% 0.183 264.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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