#BA518A

Closest named color: Dark Pink (#CB416B). oklch(58.6% 0.15 349), rgb(186, 81, 138).

Aa

Black text reads best on this color (4.63:1).

About this color

#BA518A is a medium-dark, vivid red. In OKLCH its lightness is 59%, its chroma 0.150 and its hue 349°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Pink (#CB416B), ΔE 0.055 away. Black text reads best on it, at 4.63:1.

Hue familyReds
Lightnessmedium-dark (59%)
Chromavivid (0.150)
Temperaturewarm
Nearest nameDark Pink (#CB416B)
Black text4.63:1
White text4.53:1

Values

HEX#BA518A
RGBrgb(186, 81, 138)
HSLhsl(327, 43%, 52%)
OKLCHoklch(58.6% 0.15 349)

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 #BA518A 4.53:1 AA Lc -76.4 Fine for body text
Black text on #BA518A 4.63:1 AA Lc 33.2 Non-text elements, placeholder text
#BA518A text on white 4.53:1 AA Lc 70.9 Content text, not long reading
#BA518A text on black 4.63:1 AA Lc -30.7 Non-text elements, placeholder text

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

    #FAF3F6

    oklch(97% 0.008 349.2)

  2. Step 100

    100

    #F5E5EC

    oklch(93.7% 0.02 349.1)

  3. Step 200

    200

    #EDD0DD

    oklch(88.5% 0.037 349)

  4. Step 300

    300

    #E3AFC7

    oklch(80.8% 0.068 349.3)

  5. Step 400

    400

    #D384AB

    oklch(70.7% 0.108 349.2)

  6. Step 500

    500

    #C56397

    oklch(63.1% 0.138 348.7)

  7. Step 600

    600 (this color)

    #BA518A

    oklch(58.6% 0.15 349)

  8. Step 700

    700

    #97396D

    oklch(49.2% 0.139 349.1)

  9. Step 800

    800

    #7B3059

    oklch(42.8% 0.115 349.1)

  10. Step 900

    900

    #632B49

    oklch(37.7% 0.09 348.9)

  11. Step 950

    950

    #3A1A2B

    oklch(27% 0.056 348.4)

Export this scale for Tailwind in the Tailwind colors tool

#BA518A 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)#5D6B8C0.163
Deuteranopia (no green cones)#7A7D870.147
Tritanopia (no blue cones)#C64E670.057
Achromatopsia (no color)#7676760.151

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA518A

    #BA518A

    oklch(58.6% 0.15 349)

  • #009270

    #009270

    oklch(58.7% 0.117 169)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA518A

    #BA518A

    oklch(58.6% 0.15 349)

  • #A15BB4

    #A15BB4

    oklch(58.6% 0.15 318.8)

  • #C55058

    #C55058

    oklch(58.6% 0.15 18.9)

Open the analogous palette in the generator

Split complementary

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

  • #BA518A

    #BA518A

    oklch(58.6% 0.15 349)

  • #489030

    #489030

    oklch(58.6% 0.15 138.8)

  • #008E92

    #008E92

    oklch(58.7% 0.1 198.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA518A

    #BA518A

    oklch(58.6% 0.15 349)

  • #838100

    #838100

    oklch(58.6% 0.127 108.7)

  • #0088B2

    #0088B2

    oklch(58.6% 0.115 228.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA518A

    #BA518A

    oklch(58.6% 0.15 349)

  • #A27200

    #A27200

    oklch(58.6% 0.122 79.3)

  • #009270

    #009270

    oklch(58.7% 0.117 169)

  • #417AD3

    #417AD3

    oklch(58.5% 0.149 259)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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