#BA0E27

Closest named color: Scarlet (#BE0119). oklch(50.2% 0.197 23.2), rgb(186, 14, 39).

Aa

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

About this color

#BA0E27 is a medium-dark, vivid red. In OKLCH its lightness is 50%, its chroma 0.197 and its hue 23°. Its hue sits on the warm side of the wheel. The nearest named color is Scarlet (#BE0119), ΔE 0.013 away. White text reads best on it, at 6.60:1.

Hue familyReds
Lightnessmedium-dark (50%)
Chromavivid (0.197)
Temperaturewarm
Nearest nameScarlet (#BE0119)
Black text3.17:1
White text6.60:1

Values

HEX#BA0E27
RGBrgb(186, 14, 39)
HSLhsl(351, 86%, 39%)
OKLCHoklch(50.2% 0.197 23.2)

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 #BA0E27 6.60:1 AA Lc -85.6 Fine for body text
Black text on #BA0E27 3.17:1 AA large text Lc 23.7 Dividers and decoration only
#BA0E27 text on white 6.60:1 AA Lc 80.4 Fine for body text
#BA0E27 text on black 3.17:1 AA large text Lc -21.4 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

    #FEF2F1

    oklch(97% 0.013 23.2)

  2. Step 100

    100

    #FCE3E1

    oklch(93.6% 0.028 23.2)

  3. Step 200

    200

    #FBCCC9

    oklch(88.5% 0.054 22.5)

  4. Step 300

    300

    #F8A8A4

    oklch(80.8% 0.095 22.5)

  5. Step 400

    400

    #F17672

    oklch(70.8% 0.152 23.6)

  6. Step 500

    500

    #E7494E

    oklch(63% 0.194 23)

  7. Step 600

    600

    #D31C31

    oklch(55.6% 0.212 23.2)

  8. Step 700

    700 (this color)

    #BA0E27

    oklch(50.2% 0.197 23.2)

  9. Step 800

    800

    #94101F

    oklch(42.8% 0.163 23.3)

  10. Step 900

    900

    #771A1F

    oklch(37.8% 0.127 23.1)

  11. Step 950

    950

    #461113

    oklch(26.9% 0.081 22.4)

Export this scale for Tailwind in the Tailwind colors tool

#BA0E27 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)#4E46260.217
Deuteranopia (no green cones)#75691F0.198
Tritanopia (no blue cones)#CD001C0.039
Achromatopsia (no color)#5D5D5D0.198

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA0E27

    #BA0E27

    oklch(50.2% 0.197 23.2)

  • #00727A

    #00727A

    oklch(50.3% 0.086 203.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA0E27

    #BA0E27

    oklch(50.2% 0.197 23.2)

  • #B0146D

    #B0146D

    oklch(50.3% 0.197 353.3)

  • #9A4B00

    #9A4B00

    oklch(50.3% 0.127 53.2)

Open the analogous palette in the generator

Split complementary

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

  • #BA0E27

    #BA0E27

    oklch(50.2% 0.197 23.2)

  • #00755F

    #00755F

    oklch(50.2% 0.096 173.6)

  • #006D95

    #006D95

    oklch(50.3% 0.104 232.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA0E27

    #BA0E27

    oklch(50.2% 0.197 23.2)

  • #007A0C

    #007A0C

    oklch(50.3% 0.167 143.2)

  • #2258D2

    #2258D2

    oklch(50.3% 0.197 263.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA0E27

    #BA0E27

    oklch(50.2% 0.197 23.2)

  • #646A00

    #646A00

    oklch(50.2% 0.112 113.6)

  • #00727A

    #00727A

    oklch(50.3% 0.086 203.3)

  • #6D41C7

    #6D41C7

    oklch(50.3% 0.197 293.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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