#BA4781

Closest named color: Dark Pink (#CB416B). oklch(57% 0.16 352.1), rgb(186, 71, 129).

Aa

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

About this color

#BA4781 is a medium-dark, vivid red. In OKLCH its lightness is 57%, its chroma 0.160 and its hue 352°. 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 4.87:1.

Hue familyReds
Lightnessmedium-dark (57%)
Chromavivid (0.160)
Temperaturewarm
Nearest nameDark Pink (#CB416B)
Black text4.30:1
White text4.87:1

Values

HEX#BA4781
RGBrgb(186, 71, 129)
HSLhsl(330, 45%, 50%)
OKLCHoklch(57% 0.16 352.1)

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 #BA4781 4.87:1 AA Lc -78.5 Fine for body text
Black text on #BA4781 4.30:1 AA large text Lc 31.0 Non-text elements, placeholder text
#BA4781 text on white 4.87:1 AA Lc 73.1 Content text, not long reading
#BA4781 text on black 4.30:1 AA large text Lc -28.6 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

    #F6E4EB

    oklch(93.5% 0.022 351.9)

  3. Step 200

    200

    #EFCFDC

    oklch(88.5% 0.04 351.5)

  4. Step 300

    300

    #E6AEC5

    oklch(80.9% 0.072 352.4)

  5. Step 400

    400

    #D781A8

    oklch(70.6% 0.116 351.8)

  6. Step 500

    500

    #CA5F93

    oklch(63.1% 0.147 351.7)

  7. Step 600

    600 (this color)

    #BA4781

    oklch(57% 0.16 352.1)

  8. Step 700

    700

    #9C3469

    oklch(49.2% 0.148 352.4)

  9. Step 800

    800

    #7F2C56

    oklch(42.8% 0.123 352.2)

  10. Step 900

    900

    #662947

    oklch(37.8% 0.095 351.9)

  11. Step 950

    950

    #3C1829

    oklch(26.9% 0.061 352.4)

Export this scale for Tailwind in the Tailwind colors tool

#BA4781 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)#5764830.176
Deuteranopia (no green cones)#77797E0.159
Tritanopia (no blue cones)#C7415E0.057
Achromatopsia (no color)#7171710.161

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA4781

    #BA4781

    oklch(57% 0.16 352.1)

  • #008C70

    #008C70

    oklch(57% 0.11 172.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA4781

    #BA4781

    oklch(57% 0.16 352.1)

  • #A251AE

    #A251AE

    oklch(57% 0.161 322.3)

  • #C4474A

    #C4474A

    oklch(57% 0.16 22.4)

Open the analogous palette in the generator

Split complementary

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

  • #BA4781

    #BA4781

    oklch(57% 0.16 352.1)

  • #328D2B

    #328D2B

    oklch(56.9% 0.16 142.1)

  • #008890

    #008890

    oklch(57.1% 0.097 202.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA4781

    #BA4781

    oklch(57% 0.16 352.1)

  • #7A7E00

    #7A7E00

    oklch(57% 0.126 112)

  • #0082B0

    #0082B0

    oklch(57% 0.117 232.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA4781

    #BA4781

    oklch(57% 0.16 352.1)

  • #996F00

    #996F00

    oklch(56.9% 0.117 82.2)

  • #008C70

    #008C70

    oklch(57% 0.11 172.1)

  • #4073D4

    #4073D4

    oklch(57.1% 0.159 261.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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