#BA1A17

Closest named color: Scarlet (#BE0119). oklch(50.6% 0.193 28.3), rgb(186, 26, 23).

Aa

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

About this color

#BA1A17 is a medium-dark, vivid red. In OKLCH its lightness is 51%, its chroma 0.193 and its hue 28°. 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.46:1.

Hue familyReds
Lightnessmedium-dark (51%)
Chromavivid (0.193)
Temperaturewarm
Nearest nameScarlet (#BE0119)
Black text3.24:1
White text6.46:1

Values

HEX#BA1A17
RGBrgb(186, 26, 23)
HSLhsl(1, 78%, 41%)
OKLCHoklch(50.6% 0.193 28.3)

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 #BA1A17 6.46:1 AA Lc -85.3 Fine for body text
Black text on #BA1A17 3.24:1 AA large text Lc 24.0 Dividers and decoration only
#BA1A17 text on white 6.46:1 AA Lc 80.1 Fine for body text
#BA1A17 text on black 3.24:1 AA large text Lc -21.7 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

    #F7AA9F

    oklch(80.9% 0.093 28.3)

  5. Step 400

    400

    #EF786A

    oklch(70.7% 0.149 28.3)

  6. Step 500

    500

    #E64D41

    oklch(63.1% 0.191 28.3)

  7. Step 600

    600

    #D1241F

    oklch(55.5% 0.207 28.3)

  8. Step 700

    700 (this color)

    #BA1A17

    oklch(50.6% 0.193 28.3)

  9. Step 800

    800

    #931612

    oklch(42.8% 0.16 28.4)

  10. Step 900

    900

    #761D17

    oklch(37.8% 0.124 28.4)

  11. Step 950

    950

    #45130E

    oklch(26.9% 0.078 28.9)

Export this scale for Tailwind in the Tailwind colors tool

#BA1A17 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)#5248130.210
Deuteranopia (no green cones)#786A0A0.189
Tritanopia (no blue cones)#CE001D0.040
Achromatopsia (no color)#5E5E5E0.194

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA1A17

    #BA1A17

    oklch(50.6% 0.193 28.3)

  • #00727F

    #00727F

    oklch(50.5% 0.087 208.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA1A17

    #BA1A17

    oklch(50.6% 0.193 28.3)

  • #B31764

    #B31764

    oklch(50.6% 0.194 358.3)

  • #965000

    #965000

    oklch(50.5% 0.121 58.4)

Open the analogous palette in the generator

Split complementary

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

  • #BA1A17

    #BA1A17

    oklch(50.6% 0.193 28.3)

  • #007665

    #007665

    oklch(50.6% 0.093 178)

  • #006C9D

    #006C9D

    oklch(50.5% 0.113 238.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA1A17

    #BA1A17

    oklch(50.6% 0.193 28.3)

  • #007A30

    #007A30

    oklch(50.6% 0.145 148.4)

  • #3856D1

    #3856D1

    oklch(50.7% 0.192 268.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA1A17

    #BA1A17

    oklch(50.6% 0.193 28.3)

  • #5F6D00

    #5F6D00

    oklch(50.5% 0.118 118.2)

  • #00727F

    #00727F

    oklch(50.5% 0.087 208.6)

  • #7640C2

    #7640C2

    oklch(50.7% 0.193 298.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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