#BA316D

Closest named color: Dark Pink (#CB416B). oklch(54% 0.18 358.6), rgb(186, 49, 109).

Aa

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

About this color

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

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

Values

HEX#BA316D
RGBrgb(186, 49, 109)
HSLhsl(334, 58%, 46%)
OKLCHoklch(54% 0.18 358.6)

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 #BA316D 5.60:1 AA Lc -82.1 Fine for body text
Black text on #BA316D 3.74:1 AA large text Lc 27.3 Dividers and decoration only
#BA316D text on white 5.60:1 AA Lc 76.8 Fine for body text
#BA316D 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

    #F3CDD9

    oklch(88.4% 0.045 357.1)

  4. Step 300

    300

    #EDABC0

    oklch(80.9% 0.082 358.3)

  5. Step 400

    400

    #E07C9F

    oklch(70.6% 0.129 358.6)

  6. Step 500

    500

    #D55788

    oklch(63.2% 0.165 358.7)

  7. Step 600

    600 (this color)

    #BA316D

    oklch(54% 0.18 358.6)

  8. Step 700

    700

    #A5285F

    oklch(49.1% 0.167 358.8)

  9. Step 800

    800

    #86234E

    oklch(42.7% 0.139 358.4)

  10. Step 900

    900

    #6C2341

    oklch(37.7% 0.108 358.2)

  11. Step 950

    950

    #401626

    oklch(27.1% 0.068 358.8)

Export this scale for Tailwind in the Tailwind colors tool

#BA316D 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)#4E576F0.201
Deuteranopia (no green cones)#73716A0.181
Tritanopia (no blue cones)#C91E4B0.055
Achromatopsia (no color)#6868680.181

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA316D

    #BA316D

    oklch(54% 0.18 358.6)

  • #00816F

    #00816F

    oklch(54% 0.099 178.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA316D

    #BA316D

    oklch(54% 0.18 358.6)

  • #A33DA1

    #A33DA1

    oklch(53.9% 0.18 328.5)

  • #C1342A

    #C1342A

    oklch(54% 0.179 28.6)

Open the analogous palette in the generator

Split complementary

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

  • #BA316D

    #BA316D

    oklch(54% 0.18 358.6)

  • #008536

    #008536

    oklch(53.8% 0.153 148.7)

  • #007D8B

    #007D8B

    oklch(54% 0.093 208.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA316D

    #BA316D

    oklch(54% 0.18 358.6)

  • #687800

    #687800

    oklch(54% 0.126 118.6)

  • #0077AC

    #0077AC

    oklch(54.1% 0.12 238.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA316D

    #BA316D

    oklch(54% 0.18 358.6)

  • #896A00

    #896A00

    oklch(54% 0.11 88.4)

  • #00816F

    #00816F

    oklch(54% 0.099 178.4)

  • #4462D5

    #4462D5

    oklch(53.9% 0.18 268.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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