#BA1027

Closest named color: Scarlet (#BE0119). oklch(50.3% 0.196 23.4), rgb(186, 16, 39).

Aa

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

About this color

#BA1027 is a medium-dark, vivid red. In OKLCH its lightness is 50%, its chroma 0.196 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.58:1.

Hue familyReds
Lightnessmedium-dark (50%)
Chromavivid (0.196)
Temperaturewarm
Nearest nameScarlet (#BE0119)
Black text3.19:1
White text6.58:1

Values

HEX#BA1027
RGBrgb(186, 16, 39)
HSLhsl(352, 84%, 40%)
OKLCHoklch(50.3% 0.196 23.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 #BA1027 6.58:1 AA Lc -85.5 Fine for body text
Black text on #BA1027 3.19:1 AA large text Lc 23.7 Dividers and decoration only
#BA1027 text on white 6.58:1 AA Lc 80.4 Fine for body text
#BA1027 text on black 3.19:1 AA large text Lc -21.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 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

    #FACCC9

    oklch(88.4% 0.052 22.6)

  4. Step 300

    300

    #F8A9A3

    oklch(81% 0.094 24.2)

  5. Step 400

    400

    #F07672

    oklch(70.7% 0.151 23.6)

  6. Step 500

    500

    #E74A4D

    oklch(63.1% 0.193 23.6)

  7. Step 600

    600

    #D31D31

    oklch(55.7% 0.211 23.3)

  8. Step 700

    700 (this color)

    #BA1027

    oklch(50.3% 0.196 23.4)

  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

    #461212

    oklch(27.1% 0.08 24.2)

Export this scale for Tailwind in the Tailwind colors tool

#BA1027 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)#4E47260.217
Deuteranopia (no green cones)#7669200.195
Tritanopia (no blue cones)#CD001D0.039
Achromatopsia (no color)#5D5D5D0.197

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA1027

    #BA1027

    oklch(50.3% 0.196 23.4)

  • #00727A

    #00727A

    oklch(50.3% 0.086 203.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA1027

    #BA1027

    oklch(50.3% 0.196 23.4)

  • #B0156D

    #B0156D

    oklch(50.3% 0.196 353.4)

  • #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°).

  • #BA1027

    #BA1027

    oklch(50.3% 0.196 23.4)

  • #00755F

    #00755F

    oklch(50.2% 0.096 173.6)

  • #006D96

    #006D96

    oklch(50.3% 0.104 233.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA1027

    #BA1027

    oklch(50.3% 0.196 23.4)

  • #007A0F

    #007A0F

    oklch(50.3% 0.166 143.4)

  • #2458D1

    #2458D1

    oklch(50.3% 0.195 263.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA1027

    #BA1027

    oklch(50.3% 0.196 23.4)

  • #646A00

    #646A00

    oklch(50.2% 0.112 113.6)

  • #00727A

    #00727A

    oklch(50.3% 0.086 203.3)

  • #6D41C6

    #6D41C6

    oklch(50.2% 0.195 293.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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