#BA316C

Closest named color: Dark Pink (#CB416B). oklch(53.9% 0.179 359), rgb(186, 49, 108).

Aa

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

About this color

#BA316C is a medium-dark, vivid red. In OKLCH its lightness is 54%, its chroma 0.179 and its hue 359°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Pink (#CB416B), ΔE 0.048 away. White text reads best on it, at 5.60:1.

Hue familyReds
Lightnessmedium-dark (54%)
Chromavivid (0.179)
Temperaturewarm
Nearest nameDark Pink (#CB416B)
Black text3.74:1
White text5.60:1

Values

HEX#BA316C
RGBrgb(186, 49, 108)
HSLhsl(334, 58%, 46%)
OKLCHoklch(53.9% 0.179 359)

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 #BA316C 5.60:1 AA Lc -82.2 Fine for body text
Black text on #BA316C 3.74:1 AA large text Lc 27.2 Dividers and decoration only
#BA316C text on white 5.60:1 AA Lc 76.8 Fine for body text
#BA316C text on black 3.74:1 AA large text Lc -24.9 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

    #FCF3F5

    oklch(97.2% 0.01 2)

  2. Step 100

    100

    #F8E4E9

    oklch(93.6% 0.023 0.5)

  3. Step 200

    200

    #F3CDD8

    oklch(88.4% 0.045 358.7)

  4. Step 300

    300

    #EDABBF

    oklch(80.9% 0.081 359.2)

  5. Step 400

    400

    #E07C9F

    oklch(70.6% 0.129 358.6)

  6. Step 500

    500

    #D55787

    oklch(63.2% 0.165 359.2)

  7. Step 600

    600 (this color)

    #BA316C

    oklch(53.9% 0.179 359)

  8. Step 700

    700

    #A5285E

    oklch(49.1% 0.166 359.3)

  9. Step 800

    800

    #86234D

    oklch(42.6% 0.138 359)

  10. Step 900

    900

    #6C2340

    oklch(37.7% 0.108 359.1)

  11. Step 950

    950

    #401626

    oklch(27.1% 0.068 358.8)

Export this scale for Tailwind in the Tailwind colors tool

#BA316C 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)#4E576D0.201
Deuteranopia (no green cones)#7371690.181
Tritanopia (no blue cones)#C91D4A0.055
Achromatopsia (no color)#6868680.181

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA316C

    #BA316C

    oklch(53.9% 0.179 359)

  • #008170

    #008170

    oklch(54% 0.099 179.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA316C

    #BA316C

    oklch(53.9% 0.179 359)

  • #A43DA0

    #A43DA0

    oklch(54% 0.18 329.3)

  • #C13429

    #C13429

    oklch(54% 0.18 28.9)

Open the analogous palette in the generator

Split complementary

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

  • #BA316C

    #BA316C

    oklch(53.9% 0.179 359)

  • #008538

    #008538

    oklch(53.9% 0.151 149.1)

  • #007D8B

    #007D8B

    oklch(54% 0.093 208.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA316C

    #BA316C

    oklch(53.9% 0.179 359)

  • #677800

    #677800

    oklch(54% 0.127 119.1)

  • #0076AD

    #0076AD

    oklch(53.9% 0.122 239.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA316C

    #BA316C

    oklch(53.9% 0.179 359)

  • #886A00

    #886A00

    oklch(53.9% 0.11 89.1)

  • #008170

    #008170

    oklch(54% 0.099 179.2)

  • #4562D5

    #4562D5

    oklch(53.9% 0.18 268.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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