#BA1813

Closest named color: Scarlet (#BE0119). oklch(50.4% 0.194 28.8), rgb(186, 24, 19).

Aa

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

About this color

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

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

Values

HEX#BA1813
RGBrgb(186, 24, 19)
HSLhsl(2, 81%, 40%)
OKLCHoklch(50.4% 0.194 28.8)

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 #BA1813 6.50:1 AA Lc -85.4 Fine for body text
Black text on #BA1813 3.22:1 AA large text Lc 23.8 Dividers and decoration only
#BA1813 text on white 6.50:1 AA Lc 80.2 Fine for body text
#BA1813 text on black 3.22:1 AA large text Lc -21.6 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

    #FEF3F1

    oklch(97.2% 0.012 29.9)

  2. Step 100

    100

    #FCE4E0

    oklch(93.7% 0.027 28.9)

  3. Step 200

    200

    #FACDC6

    oklch(88.5% 0.052 28.5)

  4. Step 300

    300

    #F7AA9E

    oklch(80.9% 0.093 29.1)

  5. Step 400

    400

    #F07869

    oklch(70.8% 0.151 28.7)

  6. Step 500

    500

    #E64D3F

    oklch(63.1% 0.192 28.9)

  7. Step 600

    600

    #D2231C

    oklch(55.6% 0.209 28.7)

  8. Step 700

    700 (this color)

    #BA1813

    oklch(50.4% 0.194 28.8)

  9. Step 800

    800

    #931510

    oklch(42.7% 0.161 28.7)

  10. Step 900

    900

    #761C15

    oklch(37.7% 0.125 28.9)

  11. Step 950

    950

    #46130E

    oklch(27.1% 0.079 28.9)

Export this scale for Tailwind in the Tailwind colors tool

#BA1813 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)#51480E0.212
Deuteranopia (no green cones)#786A030.190
Tritanopia (no blue cones)#CE001A0.040
Achromatopsia (no color)#5E5E5E0.196

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA1813

    #BA1813

    oklch(50.4% 0.194 28.8)

  • #00727F

    #00727F

    oklch(50.5% 0.087 208.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA1813

    #BA1813

    oklch(50.4% 0.194 28.8)

  • #B31562

    #B31562

    oklch(50.5% 0.194 359)

  • #955000

    #955000

    oklch(50.4% 0.12 58.8)

Open the analogous palette in the generator

Split complementary

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

  • #BA1813

    #BA1813

    oklch(50.4% 0.194 28.8)

  • #007565

    #007565

    oklch(50.3% 0.092 178.8)

  • #006C9D

    #006C9D

    oklch(50.5% 0.113 238.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA1813

    #BA1813

    oklch(50.4% 0.194 28.8)

  • #007A31

    #007A31

    oklch(50.6% 0.144 148.7)

  • #3955D1

    #3955D1

    oklch(50.5% 0.193 268.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA1813

    #BA1813

    oklch(50.4% 0.194 28.8)

  • #5E6D00

    #5E6D00

    oklch(50.4% 0.118 118.7)

  • #00727F

    #00727F

    oklch(50.5% 0.087 208.6)

  • #763EC1

    #763EC1

    oklch(50.4% 0.194 298.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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