#BA2298

Closest named color: Medium Violet Red (#C71585). oklch(54.6% 0.216 339.4), rgb(186, 34, 152).

Aa

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

About this color

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

Hue familyPinks
Lightnessmedium-dark (55%)
Chromavivid (0.216)
Temperaturewarm
Nearest nameMedium Violet Red (#C71585)
Black text3.77:1
White text5.57:1

Values

HEX#BA2298
RGBrgb(186, 34, 152)
HSLhsl(313, 69%, 43%)
OKLCHoklch(54.6% 0.216 339.4)

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 #BA2298 5.57:1 AA Lc -81.6 Fine for body text
Black text on #BA2298 3.77:1 AA large text Lc 27.8 Dividers and decoration only
#BA2298 text on white 5.57:1 AA Lc 76.3 Fine for body text
#BA2298 text on black 3.77:1 AA large text Lc -25.5 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

    #FCF2F8

    oklch(97.1% 0.013 340.5)

  2. Step 100

    100

    #F8E3F0

    oklch(93.6% 0.028 340)

  3. Step 200

    200

    #F2CCE5

    oklch(88.5% 0.054 338.8)

  4. Step 300

    300

    #EBA8D5

    oklch(80.8% 0.097 339.3)

  5. Step 400

    400

    #DE76C0

    oklch(70.6% 0.156 339.2)

  6. Step 500

    500

    #D24DB0

    oklch(63.1% 0.199 339.2)

  7. Step 600

    600 (this color)

    #BA2298

    oklch(54.6% 0.216 339.4)

  8. Step 700

    700

    #A31584

    oklch(49.1% 0.201 339.6)

  9. Step 800

    800

    #84176C

    oklch(42.6% 0.167 339.1)

  10. Step 900

    900

    #6B1D57

    oklch(37.8% 0.129 339.8)

  11. Step 950

    950

    #3F1333

    oklch(27.1% 0.081 339.8)

Export this scale for Tailwind in the Tailwind colors tool

#BA2298 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)#2E599B0.242
Deuteranopia (no green cones)#6270950.205
Tritanopia (no blue cones)#C52A5D0.101
Achromatopsia (no color)#6868680.218

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA2298

    #BA2298

    oklch(54.6% 0.216 339.4)

  • #008656

    #008656

    oklch(54.7% 0.125 159.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA2298

    #BA2298

    oklch(54.6% 0.216 339.4)

  • #963BCC

    #963BCC

    oklch(54.6% 0.216 309.7)

  • #CE0654

    #CE0654

    oklch(54.6% 0.216 9.6)

Open the analogous palette in the generator

Split complementary

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

  • #BA2298

    #BA2298

    oklch(54.6% 0.216 339.4)

  • #548000

    #548000

    oklch(54.7% 0.146 129.6)

  • #00827C

    #00827C

    oklch(54.7% 0.095 189.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA2298

    #BA2298

    oklch(54.6% 0.216 339.4)

  • #817100

    #817100

    oklch(54.7% 0.113 99.4)

  • #007D98

    #007D98

    oklch(54.5% 0.099 220)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA2298

    #BA2298

    oklch(54.6% 0.216 339.4)

  • #9C6200

    #9C6200

    oklch(54.7% 0.119 69.8)

  • #008656

    #008656

    oklch(54.7% 0.125 159.5)

  • #0073C4

    #0073C4

    oklch(54.6% 0.152 249.4)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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