#BA309D

Closest named color: Medium Violet Red (#C71585). oklch(55.9% 0.206 337.9), rgb(186, 48, 157).

Aa

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

About this color

#BA309D is a medium-dark, vivid pink. In OKLCH its lightness is 56%, its chroma 0.206 and its hue 338°. Its hue sits on the warm side of the wheel. The nearest named color is Medium Violet Red (#C71585), ΔE 0.047 away. White text reads best on it, at 5.25:1.

Hue familyPinks
Lightnessmedium-dark (56%)
Chromavivid (0.206)
Temperaturewarm
Nearest nameMedium Violet Red (#C71585)
Black text3.99:1
White text5.25:1

Values

HEX#BA309D
RGBrgb(186, 48, 157)
HSLhsl(313, 59%, 46%)
OKLCHoklch(55.9% 0.206 337.9)

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 #BA309D 5.25:1 AA Lc -80.2 Fine for body text
Black text on #BA309D 3.99:1 AA large text Lc 29.2 Dividers and decoration only
#BA309D text on white 5.25:1 AA Lc 74.9 Content text, not long reading
#BA309D text on black 3.99:1 AA large text Lc -26.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

    #FBF2F8

    oklch(97% 0.012 337.5)

  2. Step 100

    100

    #F7E3F0

    oklch(93.6% 0.028 338.6)

  3. Step 200

    200

    #F1CDE5

    oklch(88.6% 0.051 338.4)

  4. Step 300

    300

    #E9AAD6

    oklch(81% 0.093 338)

  5. Step 400

    400

    #DB79C1

    oklch(70.7% 0.15 337.9)

  6. Step 500

    500

    #CE52B1

    oklch(63.1% 0.19 337.8)

  7. Step 600

    600 (this color)

    #BA309D

    oklch(55.9% 0.206 337.9)

  8. Step 700

    700

    #9F1F85

    oklch(49% 0.192 338.1)

  9. Step 800

    800

    #811E6C

    oklch(42.7% 0.158 338.1)

  10. Step 900

    900

    #682058

    oklch(37.7% 0.124 337.7)

  11. Step 950

    950

    #3D1434

    oklch(26.9% 0.079 337)

Export this scale for Tailwind in the Tailwind colors tool

#BA309D 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)#365EA00.227
Deuteranopia (no green cones)#65749A0.194
Tritanopia (no blue cones)#C437630.099
Achromatopsia (no color)#6C6C6C0.208

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA309D

    #BA309D

    oklch(55.9% 0.206 337.9)

  • #008A55

    #008A55

    oklch(55.8% 0.131 157.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA309D

    #BA309D

    oklch(55.9% 0.206 337.9)

  • #9645CF

    #9645CF

    oklch(55.9% 0.207 308)

  • #CE215D

    #CE215D

    oklch(55.8% 0.206 7.8)

Open the analogous palette in the generator

Split complementary

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

  • #BA309D

    #BA309D

    oklch(55.9% 0.206 337.9)

  • #5B8300

    #5B8300

    oklch(55.9% 0.146 127.9)

  • #00867E

    #00867E

    oklch(55.8% 0.097 187.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA309D

    #BA309D

    oklch(55.9% 0.206 337.9)

  • #867400

    #867400

    oklch(55.9% 0.116 98.4)

  • #00829B

    #00829B

    oklch(56% 0.1 217.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA309D

    #BA309D

    oklch(55.9% 0.206 337.9)

  • #A26400

    #A26400

    oklch(55.9% 0.122 68.2)

  • #008A55

    #008A55

    oklch(55.8% 0.131 157.9)

  • #0078C7

    #0078C7

    oklch(55.9% 0.151 248)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #BA309D.

Similar named colors

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

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