#BA336B

Closest named color: Dark Pink (#CB416B). oklch(54.1% 0.177 359.8), rgb(186, 51, 107).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (54%)
Chromavivid (0.177)
Temperaturewarm
Nearest nameDark Pink (#CB416B)
Black text3.77:1
White text5.56:1

Values

HEX#BA336B
RGBrgb(186, 51, 107)
HSLhsl(335, 57%, 46%)
OKLCHoklch(54.1% 0.177 359.8)

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 #BA336B 5.56:1 AA Lc -82.0 Fine for body text
Black text on #BA336B 3.77:1 AA large text Lc 27.4 Dividers and decoration only
#BA336B text on white 5.56:1 AA Lc 76.7 Fine for body text
#BA336B text on black 3.77:1 AA large text Lc -25.1 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

    #F3CED8

    oklch(88.6% 0.043 359.9)

  4. Step 300

    300

    #ECACBF

    oklch(81% 0.079 359.5)

  5. Step 400

    400

    #E07D9E

    oklch(70.7% 0.127 359.6)

  6. Step 500

    500

    #D45886

    oklch(63.1% 0.162 359.7)

  7. Step 600

    600 (this color)

    #BA336B

    oklch(54.1% 0.177 359.8)

  8. Step 700

    700

    #A5295D

    oklch(49.2% 0.165 360)

  9. Step 800

    800

    #86244C

    oklch(42.7% 0.137 359.9)

  10. Step 900

    900

    #6C243F

    oklch(37.7% 0.106 0.3)

  11. Step 950

    950

    #3F1625

    oklch(26.9% 0.067 359.7)

Export this scale for Tailwind in the Tailwind colors tool

#BA336B 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)#50586C0.198
Deuteranopia (no green cones)#7472680.180
Tritanopia (no blue cones)#CA1F4B0.053
Achromatopsia (no color)#6868680.178

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA336B

    #BA336B

    oklch(54.1% 0.177 359.8)

  • #008171

    #008171

    oklch(54.1% 0.098 180.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA336B

    #BA336B

    oklch(54.1% 0.177 359.8)

  • #A43E9F

    #A43E9F

    oklch(54% 0.177 329.7)

  • #C03728

    #C03728

    oklch(54.1% 0.176 30)

Open the analogous palette in the generator

Split complementary

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

  • #BA336B

    #BA336B

    oklch(54.1% 0.177 359.8)

  • #00863B

    #00863B

    oklch(54.2% 0.15 149.8)

  • #007D8D

    #007D8D

    oklch(54% 0.094 210.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA336B

    #BA336B

    oklch(54.1% 0.177 359.8)

  • #667900

    #667900

    oklch(54.1% 0.129 120)

  • #0076AF

    #0076AF

    oklch(54% 0.124 240.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA336B

    #BA336B

    oklch(54.1% 0.177 359.8)

  • #886B00

    #886B00

    oklch(54.1% 0.111 89.9)

  • #008171

    #008171

    oklch(54.1% 0.098 180.1)

  • #4862D4

    #4862D4

    oklch(54% 0.177 269.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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