#BA4A7D

Closest named color: Dark Pink (#CB416B). oklch(57.2% 0.154 354.7), rgb(186, 74, 125).

Aa

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

About this color

#BA4A7D is a medium-dark, vivid red. In OKLCH its lightness is 57%, its chroma 0.154 and its hue 355°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Pink (#CB416B), ΔE 0.041 away. White text reads best on it, at 4.81:1.

Hue familyReds
Lightnessmedium-dark (57%)
Chromavivid (0.154)
Temperaturewarm
Nearest nameDark Pink (#CB416B)
Black text4.36:1
White text4.81:1

Values

HEX#BA4A7D
RGBrgb(186, 74, 125)
HSLhsl(333, 45%, 51%)
OKLCHoklch(57.2% 0.154 354.7)

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 #BA4A7D 4.81:1 AA Lc -78.2 Fine for body text
Black text on #BA4A7D 4.36:1 AA large text Lc 31.4 Non-text elements, placeholder text
#BA4A7D text on white 4.81:1 AA Lc 72.7 Content text, not long reading
#BA4A7D text on black 4.36:1 AA large text Lc -29.0 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

    #FBF3F6

    oklch(97.1% 0.009 352.4)

  2. Step 100

    100

    #F6E5EA

    oklch(93.7% 0.02 357.6)

  3. Step 200

    200

    #EFCFDA

    oklch(88.4% 0.039 355.2)

  4. Step 300

    300

    #E6AFC3

    oklch(81% 0.069 355.1)

  5. Step 400

    400

    #D783A4

    oklch(70.8% 0.11 355.2)

  6. Step 500

    500

    #C9618E

    oklch(63% 0.141 354.7)

  7. Step 600

    600 (this color)

    #BA4A7D

    oklch(57.2% 0.154 354.7)

  8. Step 700

    700

    #9B3665

    oklch(49.1% 0.143 354.8)

  9. Step 800

    800

    #7E2E53

    oklch(42.8% 0.118 354.5)

  10. Step 900

    900

    #662A44

    oklch(37.8% 0.092 355.2)

  11. Step 950

    950

    #3C1928

    oklch(27% 0.059 354.7)

Export this scale for Tailwind in the Tailwind colors tool

#BA4A7D 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)#5B657F0.169
Deuteranopia (no green cones)#797A7A0.155
Tritanopia (no blue cones)#C8435E0.051
Achromatopsia (no color)#7272720.155

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA4A7D

    #BA4A7D

    oklch(57.2% 0.154 354.7)

  • #008C74

    #008C74

    oklch(57.1% 0.108 174.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA4A7D

    #BA4A7D

    oklch(57.2% 0.154 354.7)

  • #A353A9

    #A353A9

    oklch(57.1% 0.153 324.7)

  • #C24B48

    #C24B48

    oklch(57.2% 0.154 24.7)

Open the analogous palette in the generator

Split complementary

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

  • #BA4A7D

    #BA4A7D

    oklch(57.2% 0.154 354.7)

  • #2E8E37

    #2E8E37

    oklch(57.1% 0.153 144.7)

  • #008893

    #008893

    oklch(57.2% 0.098 204.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA4A7D

    #BA4A7D

    oklch(57.2% 0.154 354.7)

  • #778000

    #778000

    oklch(57.3% 0.129 114.6)

  • #0082B4

    #0082B4

    oklch(57.2% 0.12 234.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA4A7D

    #BA4A7D

    oklch(57.2% 0.154 354.7)

  • #987100

    #987100

    oklch(57.2% 0.117 84.5)

  • #008C74

    #008C74

    oklch(57.1% 0.108 174.9)

  • #4A72D2

    #4A72D2

    oklch(57.2% 0.154 264.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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