#BA0313

Closest named color: Scarlet (#BE0119). oklch(49.7% 0.201 27.1), rgb(186, 3, 19).

Aa

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

About this color

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

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

Values

HEX#BA0313
RGBrgb(186, 3, 19)
HSLhsl(355, 97%, 37%)
OKLCHoklch(49.7% 0.201 27.1)

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 #BA0313 6.75:1 AA Lc -85.8 Fine for body text
Black text on #BA0313 3.11:1 AA large text Lc 23.4 Dividers and decoration only
#BA0313 text on white 6.75:1 AA Lc 80.6 Fine for body text
#BA0313 text on black 3.11:1 AA large text Lc -21.2 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

    #FCE3E0

    oklch(93.5% 0.028 25.9)

  3. Step 200

    200

    #FBCCC6

    oklch(88.4% 0.054 26.7)

  4. Step 300

    300

    #F9A89F

    oklch(80.8% 0.097 26.4)

  5. Step 400

    400

    #F2756A

    oklch(70.7% 0.156 26.9)

  6. Step 500

    500

    #E94841

    oklch(63% 0.199 27)

  7. Step 600

    600

    #D5181F

    oklch(55.6% 0.217 27)

  8. Step 700

    700 (this color)

    #BA0313

    oklch(49.7% 0.201 27.1)

  9. Step 800

    800

    #950D12

    oklch(42.7% 0.166 27.1)

  10. Step 900

    900

    #781917

    oklch(37.8% 0.13 27)

  11. Step 950

    950

    #47110E

    oklch(27.1% 0.083 27.3)

Export this scale for Tailwind in the Tailwind colors tool

#BA0313 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)#4D440F0.222
Deuteranopia (no green cones)#7668020.199
Tritanopia (no blue cones)#CE000F0.042
Achromatopsia (no color)#5B5B5B0.203

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA0313

    #BA0313

    oklch(49.7% 0.201 27.1)

  • #00707B

    #00707B

    oklch(49.8% 0.085 206.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA0313

    #BA0313

    oklch(49.7% 0.201 27.1)

  • #B20364

    #B20364

    oklch(49.8% 0.202 357.1)

  • #944D00

    #944D00

    oklch(49.7% 0.12 57)

Open the analogous palette in the generator

Split complementary

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

  • #BA0313

    #BA0313

    oklch(49.7% 0.201 27.1)

  • #007361

    #007361

    oklch(49.7% 0.092 176.8)

  • #006A98

    #006A98

    oklch(49.7% 0.109 237.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA0313

    #BA0313

    oklch(49.7% 0.201 27.1)

  • #007729

    #007729

    oklch(49.6% 0.147 147.1)

  • #3052D3

    #3052D3

    oklch(49.7% 0.202 267.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA0313

    #BA0313

    oklch(49.7% 0.201 27.1)

  • #5E6A00

    #5E6A00

    oklch(49.7% 0.115 117.2)

  • #00707B

    #00707B

    oklch(49.8% 0.085 206.7)

  • #723AC4

    #723AC4

    oklch(49.6% 0.202 296.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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