#BA0A51

Closest named color: Raspberry (#B00149). oklch(50.9% 0.2 7.4), rgb(186, 10, 81).

Aa

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

About this color

#BA0A51 is a medium-dark, vivid red. In OKLCH its lightness is 51%, its chroma 0.200 and its hue 7°. Its hue sits on the warm side of the wheel. The nearest named color is Raspberry (#B00149), ΔE 0.025 away. White text reads best on it, at 6.46:1.

Hue familyReds
Lightnessmedium-dark (51%)
Chromavivid (0.200)
Temperaturewarm
Nearest nameRaspberry (#B00149)
Black text3.25:1
White text6.46:1

Values

HEX#BA0A51
RGBrgb(186, 10, 81)
HSLhsl(336, 90%, 38%)
OKLCHoklch(50.9% 0.2 7.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 #BA0A51 6.46:1 AA Lc -85.0 Fine for body text
Black text on #BA0A51 3.25:1 AA large text Lc 24.2 Dividers and decoration only
#BA0A51 text on white 6.46:1 AA Lc 79.8 Fine for body text
#BA0A51 text on black 3.25:1 AA large text Lc -22.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 700.

  1. Step 50

    50

    #FEF2F4

    oklch(97.1% 0.013 5.8)

  2. Step 100

    100

    #FCE3E6

    oklch(93.7% 0.028 9.4)

  3. Step 200

    200

    #FACBD3

    oklch(88.5% 0.054 6.8)

  4. Step 300

    300

    #F7A7B5

    oklch(81% 0.096 7.9)

  5. Step 400

    400

    #EF738F

    oklch(70.8% 0.154 7.7)

  6. Step 500

    500

    #E54574

    oklch(63.1% 0.198 7.3)

  7. Step 600

    600

    #D0145D

    oklch(55.6% 0.215 7.2)

  8. Step 700

    700 (this color)

    #BA0A51

    oklch(50.9% 0.2 7.4)

  9. Step 800

    800

    #920A3F

    oklch(42.7% 0.165 7.2)

  10. Step 900

    900

    #751735

    oklch(37.6% 0.129 7.4)

  11. Step 950

    950

    #45101F

    oklch(26.9% 0.082 7.4)

Export this scale for Tailwind in the Tailwind colors tool

#BA0A51 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)#4649520.227
Deuteranopia (no green cones)#716A4D0.204
Tritanopia (no blue cones)#CC00300.058
Achromatopsia (no color)#5E5E5E0.201

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA0A51

    #BA0A51

    oklch(50.9% 0.2 7.4)

  • #00766F

    #00766F

    oklch(51% 0.089 187.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA0A51

    #BA0A51

    oklch(50.9% 0.2 7.4)

  • #A7218D

    #A7218D

    oklch(50.9% 0.2 337.6)

  • #B13400

    #B13400

    oklch(50.9% 0.169 37.4)

Open the analogous palette in the generator

Split complementary

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

  • #BA0A51

    #BA0A51

    oklch(50.9% 0.2 7.4)

  • #007A49

    #007A49

    oklch(51% 0.121 157.1)

  • #007288

    #007288

    oklch(50.9% 0.091 217.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA0A51

    #BA0A51

    oklch(50.9% 0.2 7.4)

  • #507300

    #507300

    oklch(50.9% 0.133 127.7)

  • #0069AE

    #0069AE

    oklch(50.8% 0.135 247.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA0A51

    #BA0A51

    oklch(50.9% 0.2 7.4)

  • #776500

    #776500

    oklch(50.9% 0.105 96.9)

  • #00766F

    #00766F

    oklch(51% 0.089 187.6)

  • #504ED4

    #504ED4

    oklch(50.9% 0.2 277.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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